Linux OS Internals (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are the common Linux Process States in `ps` and `top`?
junior Levellinux-osBasic
In Simple Words:
R(Running / Runnable): Actively executing on a CPU core or sitting in the run queue ready to execute.S(Interruptible Sleep): Waiting for an event (I/O, timer, socket). Can be awakened by signals.D(Uninterruptible Sleep - Disk Sleep): Waiting for hardware/disk I/O. Cannot be killed bykill -9! Indicates disk bottlenecks or dead NFS mounts.T(Stopped / Traced): Paused by a signal (SIGSTOP,Ctrl+Z) or debugger.Z(Zombie): Terminated, waiting for parent process to reap its exit status.