How do I see the process tables in Linux?


  1. How do I see the process tables in Linux?
  2. What are the 5 Process states in Linux?

How do I see the process tables in Linux?

In the Linux kernel, each process is represented by a task_struct in a doubly-linked list, the head of which is init_task (pid 0, not pid 1). This is commonly known as the process table. In user mode, the process table is visible to normal users under /proc .

What are the 5 Process states in Linux?

There are five Linux process states. They are as follows: running & runnable, interruptable_sleep, uninterruptable_sleep, stopped, and zombie. Each of these process states exist for a very well defined reason.