Options (6)
-p, --pidbooleanLimit an existing process with PID 1234 to only use 25% of the CPU
cpulimit {{[-p|--pid]}} {{1234}} {{[-l|--limit]}} {{25%}}-l, --limitbooleanLimit an existing process with PID 1234 to only use 25% of the CPU
cpulimit {{[-p|--pid]}} {{1234}} {{[-l|--limit]}} {{25%}}-e, --exebooleanLimit an existing program by its executable name
cpulimit {{[-e|--exe]}} {{program}} {{[-l|--limit]}} {{25}}-b, --backgroundbooleanLaunch a program, limit its CPU usage to 50% and run cpulimit in the background
cpulimit {{[-l|--limit]}} {{50}} {{[-b|--background]}} -- {{program}}-k, --killbooleanKill its process if the program's CPU usage goes over 50%
cpulimit {{[-l|--limit]}} 50 {{[-k|--kill]}} -- {{program}}-m, --monitor-forksbooleanThrottle both it and its child processes so that none go about 25% CPU
cpulimit {{[-l|--limit]}} {{25}} {{[-m|--monitor-forks]}} -- {{program}}Examples (6)
Limit an existing process with PID 1234 to only use 25% of the CPU
cpulimit [-p|--pid] 1234 [-l|--limit] 25%Limit an existing program by its executable name
cpulimit [-e|--exe] program [-l|--limit] 25Launch a given program and limit it to only use 50% of the CPU
cpulimit [-l|--limit] 50 -- program argument1 argument2 ...Launch a program, limit its CPU usage to 50% and run cpulimit in the background
cpulimit [-l|--limit] 50 [-b|--background] -- programKill its process if the program's CPU usage goes over 50%
cpulimit [-l|--limit] 50 [-k|--kill] -- programThrottle both it and its child processes so that none go about 25% CPU
cpulimit [-l|--limit] 25 [-m|--monitor-forks] -- program