documentation: fix man pages due to refactor for wchan

This patch will bring three of our man pages into line
with the recent refactor of the libprocps wchan logic.

[ and also eliminates more damn eol whitespace which ]
[ snuck in our repo with the commit referenced below ]

Reference(s):
http://www.freelists.org/post/procps/WCHAN,11
commit cf4788c28d

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2015-06-18 00:00:00 -05:00
committed by Craig Small
parent 93666da62c
commit 3600f652e8
3 changed files with 4 additions and 55 deletions

46
ps/ps.1
View File

@@ -646,41 +646,9 @@ Examples:
.BI \-\-lines \ n
Set screen height.
.TP
.BI \-n \ namelist
Set namelist file. Identical to
.BR N .
The namelist file is needed for a proper WCHAN display, and must match the
current Linux kernel exactly for correct output. Without this option, the
default search path for the namelist is:
.RS 8
.IP
$PS_SYSMAP
.br
$PS_SYSTEM_MAP
.br
/proc/*/wchan
.br
/boot/System.map\-$(uname\ \-r)
.br
/boot/System.map
.br
/lib/modules/$(uname\ \-r)/System.map
.br
/usr/src/linux/System.map
.br
/System.map
.RE
.TP
.B n
Numeric output for WCHAN and USER (including all types of UID and GID).
.TP
.BI N \ namelist
Specify namelist file. Identical to
.BR \-n ,
see
.B \-n
above.
.TP
.B \-\-no\-headers
Print no header line at all.
.B \-\-no\-heading
@@ -804,10 +772,6 @@ this
.B ps
any special permissions.
.PP
This
.B ps
needs access to namelist data for proper WCHAN display. For kernels prior to
2.6, the System.map file must be installed.
.PP
CPU usage is currently expressed as the percentage of time spent running
during the entire lifetime of a process. This is not ideal, and\ it does not
@@ -826,8 +790,8 @@ will be destroyed by
.IR init (8)
if the parent process exits.
.PP
If the length of the username is greater than the length of the display
column, the username will be truncated. See the -o and -O formatting
If the length of the username is greater than the length of the display
column, the username will be truncated. See the -o and -O formatting
options to customize length.
.PP
Commands options such as
@@ -1882,12 +1846,6 @@ and
.B DefBSD
values are particularly useful.
.TP
.B PS_SYSMAP
Default namelist (System.map) location.
.TP
.B PS_SYSTEM_MAP
Default namelist (System.map) location.
.TP
.B POSIXLY_CORRECT
Don't find excuses to ignore bad "features".
.TP