Process States in Linux
Posted on August 21st, 2008 by hengdu
To help me memorize, I list all process states for Linux, which is actually from UNIX.
- R – runnable which means the process has done a context switch and has the kernel.
- S – sleeping which means the process is waiting on I/O completion (blocked), a pipe, memory, etc.
- T – process has been stopped – sent a SIGSTOP usually with ctrl/z
- Z – zombie – a process that has a process image in memory but no context, ie., not swappable.
- O – means the process is the one that currenlty has the cpu
Discussion Area - Leave a Comment