Skip to content

Instantly share code, notes, and snippets.

@DBarthe
Created May 10, 2017 11:59
Show Gist options
  • Save DBarthe/694fa513b32a2a673890e704b9308f22 to your computer and use it in GitHub Desktop.
Save DBarthe/694fa513b32a2a673890e704b9308f22 to your computer and use it in GitHub Desktop.
One line bash (many) cpus stress
fulload() { dd if=/dev/zero of=/dev/null | dd if=/dev/zero of=/dev/null | dd if=/dev/zero of=/dev/null | dd if=/dev/zero of=/dev/null & }; fulload; fulload; fulload; fulload; fulload; fulload; fulload; fulload ; fulload; fulload ; fulload; fulload ; read; killall dd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment