ps: Document -P option
The -P option for ps has been in there for decades but neither the man page nor the help option explained what it did. Amazing what crops up even now! References: https://unix.stackexchange.com/questions/701422/what-does-p-mean-in-the-context-of-the-ps-command
This commit is contained in:
parent
6e78355d4d
commit
19c65159a9
@ -139,6 +139,7 @@ void do_help (const char *opt, int rc) {
|
|||||||
fputs(_(" O <format> as -O, with BSD personality\n"), out);
|
fputs(_(" O <format> as -O, with BSD personality\n"), out);
|
||||||
fputs(_(" -o, o, --format <format>\n"
|
fputs(_(" -o, o, --format <format>\n"
|
||||||
" user-defined format\n"), out);
|
" user-defined format\n"), out);
|
||||||
|
fputs(_(" -P add psr column\n"), out);
|
||||||
fputs(_(" s signal format\n"), out);
|
fputs(_(" s signal format\n"), out);
|
||||||
fputs(_(" u user-oriented format\n"), out);
|
fputs(_(" u user-oriented format\n"), out);
|
||||||
fputs(_(" v virtual memory format\n"), out);
|
fputs(_(" v virtual memory format\n"), out);
|
||||||
|
5
ps/ps.1
5
ps/ps.1
@ -4,7 +4,7 @@
|
|||||||
.\" Quick hack conversion by Albert Cahalan, 1998.
|
.\" Quick hack conversion by Albert Cahalan, 1998.
|
||||||
.\" Licensed under version 2 of the Gnu General Public License.
|
.\" Licensed under version 2 of the Gnu General Public License.
|
||||||
.\"
|
.\"
|
||||||
.TH PS "1" "January 2022" "procps-ng" "User Commands"
|
.TH PS "1" "2022-05-11" "procps-ng" "User Commands"
|
||||||
.\"
|
.\"
|
||||||
.\" To render this page:
|
.\" To render this page:
|
||||||
.\" groff -t -b -man -X -P-resolution -P100 -Tps ps.1 &
|
.\" groff -t -b -man -X -P-resolution -P100 -Tps ps.1 &
|
||||||
@ -539,6 +539,9 @@ options when in doubt. Use the
|
|||||||
environment variable to specify a default as desired; DefSysV and DefBSD are
|
environment variable to specify a default as desired; DefSysV and DefBSD are
|
||||||
macros that may be used to choose the default UNIX or BSD columns.
|
macros that may be used to choose the default UNIX or BSD columns.
|
||||||
.TP
|
.TP
|
||||||
|
.B \-P
|
||||||
|
Add a column showing \fBpsr\fR.
|
||||||
|
.TP
|
||||||
.B s
|
.B s
|
||||||
Display signal format.
|
Display signal format.
|
||||||
.TP
|
.TP
|
||||||
|
Loading…
Reference in New Issue
Block a user