load cpu & memory shell script c program for quick and dirty benchmark

Tech Notes
 Santanu Misra / May 18, 2006
52 words ; 1 minute read

This script is a simple empty while loop which will load or increase the usage of your cpu. a good way to test your cpu check for different monitoring tool

while : > do : > done

/home/sanmisra>more memory.c

main () { while ( 1 ) { malloc (10240) ; } }

 Previous

Next