Author: kib
Date: Fri Mar  5 13:13:35 2010
New Revision: 204755
URL: http://svn.freebsd.org/changeset/base/204755

Log:
  Update the list of the process flags. Note that the lists of pending
  signals for process and its threads are distinct.
  
  Reviewed by:  jilles
  MFC after:    2 weeks

Modified:
  head/bin/ps/ps.1

Modified: head/bin/ps/ps.1
==============================================================================
--- head/bin/ps/ps.1    Fri Mar  5 12:58:19 2010        (r204754)
+++ head/bin/ps/ps.1    Fri Mar  5 13:13:35 2010        (r204755)
@@ -29,7 +29,7 @@
 .\"     @(#)ps.1       8.3 (Berkeley) 4/18/94
 .\" $FreeBSD$
 .\"
-.Dd July 9, 2009
+.Dd March 5, 2010
 .Dt PS 1
 .Os
 .Sh NAME
@@ -284,11 +284,10 @@ The percentage of real memory used by th
 The flags associated with the process as in
 the include file
 .In sys/proc.h :
-.Bl -column P_STOPPED_SINGLE 0x4000000
+.Bl -column P_SINGLE_BOUNDARY 0x40000000
 .It Dv "P_ADVLOCK" Ta No "0x00001      Process may hold a POSIX advisory lock"
 .It Dv "P_CONTROLT" Ta No "0x00002     Has a controlling terminal"
 .It Dv "P_KTHREAD" Ta No "0x00004      Kernel thread"
-.It Dv "P_NOLOAD" Ta No "0x00008       Ignore during load avg calculations"
 .It Dv "P_PPWAIT" Ta No "0x00010       Parent is waiting for child to 
exec/exit"
 .It Dv "P_PROFIL" Ta No "0x00020       Has started profiling"
 .It Dv "P_STOPPROF" Ta No "0x00040     Has thread in requesting to stop prof"
@@ -305,8 +304,14 @@ the include file
 .It Dv "P_STOPPED_SINGLE" Ta No "0x80000       Only one thread can continue"
 .It Dv "P_PROTECTED" Ta No "0x100000   Do not kill on memory overcommit"
 .It Dv "P_SIGEVENT" Ta No "0x200000    Process pending signals changed"
+.It Dv "P_SINGLE_BOUNDARY" Ta No "0x400000     Threads should suspend at user 
boundary"
+.It Dv "P_HWPMC" Ta No "0x800000       Process is using HWPMCs"
 .It Dv "P_JAILED" Ta No "0x1000000     Process is in jail"
 .It Dv "P_INEXEC" Ta No "0x4000000     Process is in execve()"
+.It Dv "P_STATCHILD" Ta No "0x8000000  Child process stopped or exited"
+.It Dv "P_INMEM" Ta No "0x10000000     Loaded into memory"
+.It Dv "P_SWAPPINGOUT" Ta No "0x20000000       Process is being swapped out"
+.It Dv "P_SWAPPINGIN" Ta No "0x40000000        Process is being swapped in"
 .El
 .It Cm label
 The MAC label of the process.
@@ -615,6 +620,13 @@ wait channel (as a symbolic name)
 .It Cm xstat
 exit or stop status (valid only for stopped or zombie process)
 .El
+.Pp
+Note that the
+.Cm pending
+column displays bitmask of signals pending in the process queue when
+.Fl H
+option is not specified, otherwise the per-thread queue of pending signals
+is shown.
 .Sh ENVIRONMENT
 The following environment variables affect the execution of
 .Nm :
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to