Saturday, 28 November 2026

Reading STAT output from ps

One of the columns which Linux command ps outputs is STAT. For example, you ps -aux | grep sql may show up sql databases running. If you see Ss for example this can be understood as follows:

S - interruptible sleep; process is sleeping and can be woken by a signal or event
s - session leader (PID == Session ID)

No comments: