public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Cygwin: document showing command line on ps -f
@ 2024-02-01 11:45 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2024-02-01 11:45 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=76760707ec97d294b16c37712926e5d1ac52026e
commit 76760707ec97d294b16c37712926e5d1ac52026e
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Thu Feb 1 12:44:28 2024 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Thu Feb 1 12:44:28 2024 +0100
Cygwin: document showing command line on ps -f
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/doc/utils.xml | 5 +++--
winsup/utils/ps.cc | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml
index 692dae38f5b4..1d3fe909b0d2 100644
--- a/winsup/doc/utils.xml
+++ b/winsup/doc/utils.xml
@@ -2496,7 +2496,7 @@ $ profiler du -khs .
<screen>
-a, --all show processes of all users
-e, --everyone show processes of all users
- -f, --full show process uids, ppids
+ -f, --full show process uids, ppids and command line
-h, --help output usage information and exit
-l, --long show process uids, ppids, pgids, winpids
-p, --process show information for specified PID
@@ -2532,7 +2532,8 @@ With no options, ps outputs the long format by default
<literal>-e</literal> option, all user's processes (and system processes)
are listed. There are historical UNIX reasons for the synonomous options,
which are functionally identical. The <literal>-f</literal> option
- outputs a "full" listing with usernames for UIDs. The
+ outputs a "full" listing with usernames for UIDs and the command line
+ of the process, rather than just the full path to the executable. The
<literal>-l</literal> option is the default display mode, showing a
"long" listing with all the above columns. The other display option is
<literal>-s</literal>, which outputs a shorter listing of just PID, TTY,
diff --git a/winsup/utils/ps.cc b/winsup/utils/ps.cc
index 3bc8afed4062..196579c581b5 100644
--- a/winsup/utils/ps.cc
+++ b/winsup/utils/ps.cc
@@ -110,7 +110,7 @@ Report process status\n\
\n\
-a, --all show processes of all users\n\
-e, --everyone show processes of all users\n\
- -f, --full show process uids, ppids\n\
+ -f, --full show process uids, ppids and command line\n\
-h, --help output usage information and exit\n\
-l, --long show process uids, ppids, pgids, winpids\n\
-p, --process show information for specified PID\n\
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-01 11:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 11:45 [newlib-cygwin/main] Cygwin: document showing command line on ps -f Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).