9th July 2009
in
Applications, System, cli
You can do this by installing cpulimit. You can limit a certain running application either by name or by process ID:
cpulimit -e firefox -l 30
This won’t let Firefox go beyond a 30% CPU usage limit.
If you’d [...]
Tags: CPU, limiting, process, processor
17 Comments
2nd January 2009
in
Hardware, cli
You can use a one-string command in Linux to nicely display in CLI the processes that consume your CPU. Use
ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed ‘/^ 0.0 /d’
and you will get something l[...]
Tags: cli, CPU, memory, RAM
4 Comments