More Technical Help

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

0 comments:

Post a Comment