User Tools

Site Tools


top5_cpu_processes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
top5_cpu_processes [2015/09/08 17:01] luke7858top5_cpu_processes [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 12: Line 12:
 ps -eo user,pcpu,pid,cmd | sort -r -k2 | head -6 ps -eo user,pcpu,pid,cmd | sort -r -k2 | head -6
 </sxh> </sxh>
 +\\
 + 
 +\\
 +It is important to inspect the 'State' column when investigating processes. Below are the flat definitions:
 +
 +^ State ^ Definition ^
 +| D  | uninterruptible sleep (usually IO) |
 +| R  | running or runnable (on run queue) |
 +| S  | interruptible sleep (waiting for an event to complete) |
 +| T  | stopped, either by a job control signal or because it is being traced | 
 +| X  | dead (should never be seen) |
 +| Z  | defunct ("zombie") process, terminated but not reaped by its parent |
 +|    | |
 +| <  | high-priority (not nice to other users) |
 +| N  | low-priority (nice to other users) |
 +| L  | has pages locked into memory (for real-time and custom IO) |
 +| s  | is a session leader |
 +| l  | is multi-threaded (using CLONE_THREAD, like NPTL pthreads do) |
 +| +  | is in the foreground process group |
 +
top5_cpu_processes.1441731685.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki