LinuxHelps.com

A blog for Linux Lovers.

Posted by sibu on September 20, 2009

Commands to monitor the process.

Find Out The Top 10 Memory Consuming Process

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

Find Out top 10 CPU Consuming Process

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

Max cpu resource usage

# ps -eo pcpu,pid,user,args | sort -r -k1 | more

To get the long list of a process, if we have pid

# ps -efm –columns 2048 | grep <pid>

Iostat

The command iostat report Central Processing Unit (CPU) statistics and input/output statistics for devices, partitions and network filesystems (NFS).

#iostat

Add A Comment