Generate high load and cpu usage for testing only
Jump to navigation
Jump to search
vi foo.c
#include <stdio.h> void main() { while (1){ fork(); } return 0; }
gcc foo.c -o foo ./foo
be carefull to start the script as root, it will use as much cputime and memory as it can...
use it for testing only