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
7th November 2008
in
Hardware
If for whatever reason you wish not to use your Linux SWAP anymore, you can use the swapoff command. Do a swapon -s to see to which partition SWAP belongs to then a free -mt to check available memory. If you still want t[...]
Tags: memory, RAM, swap
1 Comment