Thursday, February 23, 2012

Using PS to find resource intensive processes

#Top (X) Memory Consumers
#just change the head command to see more, this will show you top 10 



ps -auxf | sort -nr -k 4 | head -10



#Top (X) CPU Consumers
#just change the head command to see more, this will show you top 10



ps -auxf | sort -nr -k 3 | head -10


0 comments:

Post a Comment