Module Name: src Committed By: christos Date: Thu Mar 15 15:43:43 UTC 2012
Modified Files: src/bin/ps: ps.1 Log Message: Fix obsolete example (that referred to letters in process state that are not set anymore), and clarify their meaning. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/bin/ps/ps.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/ps/ps.1 diff -u src/bin/ps/ps.1:1.96 src/bin/ps/ps.1:1.97 --- src/bin/ps/ps.1:1.96 Thu Feb 23 16:54:28 2012 +++ src/bin/ps/ps.1 Thu Mar 15 11:43:43 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: ps.1,v 1.96 2012/02/23 21:54:28 dholland Exp $ +.\" $NetBSD: ps.1,v 1.97 2012/03/15 15:43:43 christos Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" -.Dd February 23, 2012 +.Dd March 15, 2012 .Dt PS 1 .Os .Sh NAME @@ -337,26 +337,30 @@ Otherwise, the start time is displayed u format. .It Ar state The state is given by a sequence of letters, for example, -.Dq Tn RWNA . +.Dq Tn RNs . The first letter indicates the run state of the process: .Pp .Bl -tag -width indent -compact .It D -Marks a process in disk (or other short term, uninterruptible) wait. +Marks a process in device or other short term, uninterruptible wait. .It I -Marks a process that is idle (sleeping for longer than about 20 seconds). +Marks a process that is idle (sleeping interruptibly for longer than about +.Dv MAXSLP +(default 20) seconds). .It O Marks a process running on a processor. .It R Marks a runnable process, or one that is in the process of creation. .It S -Marks a process that is sleeping for less than about 20 seconds. +Marks a process that is sleeping interruptibly for less than about +.Dv MAXSLP +(default 20) seconds. .It T Marks a stopped process. .It U Marks a suspended process. .It Z -Marks a dead process (a +Marks a dead process that has exited, but not been waited for (a .Dq zombie ) . .El .Pp @@ -373,17 +377,17 @@ The process has raised .Tn CPU scheduling priority. .It a -The process is using scheduler activations. +The process is using scheduler activations (deprecated). .It E -The process is trying to exit. +The process is in the process of exiting. .It K The process is a kernel thread or system process. .It l The process has multiple LWPs. .It N -The process has reduced +The process is niced (has reduced .Tn CPU -scheduling priority (see +scheduling priority) (see .Xr setpriority 2 ) . .It s The process is a session leader.