Websitetemplate.org

Welcome > Linux > Miscellaneous > Process Hog

Process Hog

Find the process ID that is using the most CPU

[root@mybox tmp]# ps -eo pcpu,pid,user,fname | sort -r -k1 | head -2
%CPU   PID USER     COMMAND
 8.1  2026 gtoft    java
 

Content Copyright 2003-2014 George Toft