Hi,
I was just checking the process states for solaris and linux.
And I found both of them differ a lot.
According to the man page for ps:
In Solaris
----------------------
The state of the process:
O Process is running on a processor.
S Sleeping: process is waiting for an event
to complete.
R Runnable: process is on run queue.
T Process is stopped, either by a job con-
trol signal or because it is being
traced.
W Waiting: process is waiting for CPU usage
to drop to the CPU-caps enforced limits.
Z Zombie state: process terminated and
parent not waiting.
In Linux/Unix
-------------------------
D Uninterruptible sleep (usually IO)
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.
W paging (not valid since the 2.6.xx kernel)
X dead (should never be seen)
Z Defunct ("zombie") process, terminated but not reaped by its parent.
I don't know, why both of them deviate from the basic open source
format, which creates extra confusion.
--
Barun Kumar Parichha,
Sun Microsystems India Pvt Ltd
Bangalore 560025, INDIA
_______________________________________________
opensolaris-discuss mailing list
[email protected]