Linux Process Statuses

When using ps with the “u” flag (ps -u) you will see a column called STAT that displays the process’s status.


The STAT column in the example below is outlined in red (using ps -aux):

ps -aux STAT example

Here is a list of the various process statuses and what they mean:

D – Uninterruptible sleep (usually a critical system process, a process that cannot be killed without rebooting)
R – Running or runnable (on run queue)
S – Interruptible sleep (waiting for an event to complete)
T – Stopped, either by a job control signal or because it is being traced.
Z – Defunct (“zombie”) process, terminated but not closed by the parent process that created it

Additional characters may be seen if in a BSD environment or when using the “stat” modifier with ps:

W – has no resident pages
< – high-priority process
N – low-priority task
L – has pages locked into memory (for real-time and custom IO)

  • 77 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

Error: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 on Ubuntu [SOLVED]

Option #1: Multiple ‘Listen’ Directive Entries in Configuration Files In some cases...

How to Install ProFTPD on CentOS 6

Step 1: Add the EPEL Repository ProFTPD is part of Extra Packages for Enterprise Linux (EPEL),...

What is an SPF Record?

An SPF (Sender Policy Framework) record is a list of servers that are allowed to send e-mail from...

How to Install and Configure phpMyAdmin on Fedora 20

Step 1: Install phpMyAdmin First, you’ll follow a simple best practice: ensuring the list of...

How to Display (List) All Jobs in Cron / Crontab

Servers can automatically perform tasks that you would otherwise have to perform yourself, such...

Powered by WHMCompleteSolution