Click to download
|Summary||Limits the CPU usage (good for laptops)|
|Description||cpulimit is a simple program that attempts to limit the CPU usage of a process (expressed in percentage, not in cpu time). This is useful to control batch jobs, when you don't want they eat too much cpu. It does not act on the nice value or other priority stuff, but on the real cpu usage. Besides it is able to adapt itself to the overall system load, dynamically and quickly.
Extract the source and compile:
$tar zxf cpulimit-1.0.tar.gz $cd cpulimit-1.0 $makeExecutable file name is cpulimit.
Examples of useLimiting the program 'make' (think to a kernel compilation) by executable name to 40% CPU:
$./cpulimit make 40Limiting a program by executable path name to 55% CPU:
$./cpulimit /path/of/the/exe/file 55
|Date||7:46 AM UTC, June 28 2005|
Last modified 4:25 AM UTC, March 02 2019.
Copyright © 2019 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.