1.

Explain are different process states in Linux?

Answer»

When we execute “ps aux”  in Linux terminal console, we can see multiple states of processes running in the SYSTEM under the STAT column.

R: Process is running with CPU or WAITING for CPU (Running or Runnable)

S: Process is waiting for the set event to complete, Like an input from terminal (SLEEP)

D: Process is with uninterruptible sleep stats which cannot be changed or KILLED \ rollback. The only WAY to go AWAY is the reboot system.

Z: Process in Zombie status means the process is already killed but process information and data still exist in the process table.

T: Process either completed or terminated by the operating system or user. This is also known as Terminated /  Completed.



Discussion

No Comment Found