cpulimit (1)
Name
cpulimit -- limits the CPU usage of a processSynopsis
cpulimit TARGET [OPTIONS...]Description
TARGET must be exactly one of these:
- -p, --pid=N
- pid of the process
- -e, --exe=FILE
- name of the executable program file
- -P, --path=PATH
- absolute path name of the executable program file
OPTIONS
- -l, --limit=N
- percentage of CPU allowed from 0 to 100 (mandatory)
- -v, --verbose
- show control statistics
- -z, --lazy
- exit if there is no suitable target process, or if it dies
- -h, --help
- display this help and exit
Examples
Assuming you have started ‘foo --bar‘ and you find out with top(1) or ps(1) that this process uses all your CPU time you can either- [sh] cpulimit -e foo -l 50
- limits the CPU usage of the process by acting on the executable program file (note: the argument "--bar" is omitted)
- [sh] cpulimit -p 1234 -l 50
- limits the CPU usage of the process by acting on its PID, as shown by ps(1)
- [sh] cpulimit -P /usr/bin/foo -l 50
- same as -e but uses the absolute path name
Author
This manpage was written for the Debian project by gregor herrmann <gregor+debian@comodo.priv.at> but may be used by others.
Losowe
- gfsjoin (1)
- netif_carrier_on (9)
- Tcl_GetPathType (3)
- hdfpack (1)
- git-unpack-file (1)
- RetreiveFileSecurity (3w)
- fstrim (8)
- AddPortW (3w)
- kwordquiz (1)
- firestring_estr_vsprintfe (3)
- HTTP::Request::Common (3)
- maillist (1)
- dynload_overview (3)
- Module::Build::Cookbook (3perl)
- Module::Starter::BuilderSet (3pm)
- Pango::AttrUnderlineColor (3pm)
- SWISS::CCrna_editing (3pm)
- qcanvasrectangle (3qt)
- TheSchwartz::Worker (3pm)
- dcopquit (1)












