More Technical Help

Showing posts with label CPU. Show all posts
Showing posts with label CPU. Show all posts

Sunday, May 8, 2011

Track Top memory and CPU consuming process


Use below mentioned command to get top memory consuming processes"

ps aux | head -1;ps aux --no-headers| sort -rn +3 | head

Use below command to get top cpu consuming processes:

ps aux | head -1;ps aux --no-headers | sort -rn +2 |more