cpulimit : cpu »ç¿ë·®À» Á¤ÇØÁÖ´Â ¸í·É¾î
http://cpulimit.sourceforge.net/
# yum install -y cpulimit
# cpulimit -help
Usage: cpulimit TARGET [OPTIONS...]
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
# cpulimit -p 30319 -l 30 &
example)
# cpulimit -p 30319 -l 30
Process 30319 detected
# top
30319 kvm 20 0 2839m 1.9g 1296 T 30 473,48 4.0 28428:32 qemu