diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2024-02-01 12:44:28 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-02-01 12:44:28 +0100 |
commit | 76760707ec97d294b16c37712926e5d1ac52026e (patch) | |
tree | bc9ab18d718a94c6109c3f9aefc5539beb9e2445 | |
parent | 2e7f7b96e5f1ca788e3f4589afaaa705b20051c0 (diff) | |
download | newlib-76760707ec97d294b16c37712926e5d1ac52026e.zip newlib-76760707ec97d294b16c37712926e5d1ac52026e.tar.gz newlib-76760707ec97d294b16c37712926e5d1ac52026e.tar.bz2 |
Cygwin: document showing command line on ps -f
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/doc/utils.xml | 5 | ||||
-rw-r--r-- | 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 692dae3..1d3fe90 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 3bc8afe..196579c 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\ |