From 0ab90cb3f6b7aa6a5a725c5aadaee31d34eaca96 Mon Sep 17 00:00:00 2001 From: kib Date: Thu, 7 Feb 2013 15:37:51 +0000 Subject: Document P_PPTRACE. MFC after: 2 weeks --- bin/ps/ps.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/ps') diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 21e8eaf..7f69137 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -29,7 +29,7 @@ .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd September 18, 2012 +.Dd February 7, 2013 .Dt PS 1 .Os .Sh NAME @@ -323,6 +323,7 @@ the include file .It Dv "P_INMEM" Ta No "0x10000000" Ta "Loaded into memory" .It Dv "P_SWAPPINGOUT" Ta No "0x20000000" Ta "Process is being swapped out" .It Dv "P_SWAPPINGIN" Ta No "0x40000000" Ta "Process is being swapped in" +.It Dv "P_PPTRACE" Ta No "0x80000000" Ta "Vforked child issued ptrace(PT_TRACEME)" .El .It Cm label The MAC label of the process. -- cgit v1.1 From 2ba67e203aad1ffa4650449d05e44a2b61e99ad6 Mon Sep 17 00:00:00 2001 From: joel Date: Fri, 15 Mar 2013 20:12:54 +0000 Subject: Add a few examples. Obtained from: OpenBSD --- bin/ps/ps.1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/ps') diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 7f69137..1a364f5 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -29,7 +29,7 @@ .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd February 7, 2013 +.Dd March 15, 2013 .Dt PS 1 .Os .Sh NAME @@ -689,6 +689,10 @@ attempts to automatically determine the terminal width. .It Pa /boot/kernel/kernel default system namelist .El +.Sh EXAMPLES +Display information on all system processes: +.Pp +.Dl $ ps -auxw .Sh SEE ALSO .Xr kill 1 , .Xr pgrep 1 , -- cgit v1.1