Skip to content

Simple bash script to perform CPU burn in or stress the CPU. Spawns a variable number of dd processes for a variable amount of time. WARNING: This will stress your components, so you should monitor temperatures during use.

License

elandsness/stresscpubash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

#Synopsis This simple bash script can be used to launch multiple dd threads in an effort to spike cpu usage for the purpose of burning in hardware or testing the performance of thermal solutions utilized by the hardware.

#Usage stresscpu.sh <num_processes> <num_seconds> Both arguments are optional. For example: "stresscpu.sh 9 30" will spawn 9 processes for 30 seconds. If you are looking to peg the CPU to 100% of available resources, set the number of processes to spawn to the number of threads your CPU can handle plus one.

#Motivation I created this script to simulate max load on my computer to test the thermal performance of my small formfactor machine.

#Installation Just download the script, make it executable and run it. Must have bash, obviously.

#License This software is being provided under the GNU GENERAL PUBLIC LICENSE v3. Please see included license file for additional information.

About

Simple bash script to perform CPU burn in or stress the CPU. Spawns a variable number of dd processes for a variable amount of time. WARNING: This will stress your components, so you should monitor temperatures during use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages