10

Is there any difference between D, Ds and D+ status of process from the ps output

$ ps -e -o pid,stat,comm,wchan=WIDE-WCHAN-COLUMN | grep D
  PID STAT COMMAND         WIDE-WCHAN-COLUMN
12987 D+   du              o2net_send_message_vec

I understand D stands for Disk Sleep. Want to know D+, Ds and what do they stand for?

EEAA
  • 108,414
  • 18
  • 172
  • 242
rajeshrajan
  • 103
  • 1
  • 1
  • 4

1 Answers1

19
  • D - uninterruptable sleep
  • + - in foreground process group
  • s - a session leader

These are for the BSD style ps command.

Tombart
  • 2,013
  • 3
  • 27
  • 47