CPU Limit
Mercoledì, Gennaio 16th, 2008ok c’è renice, però qualche volta può tornare utile limitare il consumo di cpu del tal processo all’xx per cento.
Ci pensa Cpu Limit.
Gli esempi in home page sono più che chiari mi sembra:
Limiting the program ‘bigloop’ by executable name to 40% CPU:
$ ./cpulimit –exe bigloop –limit 40
or
$ ./cpulimit –path /usr/local/bin/bigloop –limit 40
Limiting a program by PID to 55% CPU:
$ ./cpulimit –pid 2960 –limit 55
