aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-06-17 15:51:25 -0700
committerRob Landley <rob@landley.net>2016-06-17 19:26:36 -0500
commit8e618f123d13f2c1375cb32a80248f5a63944adc (patch)
tree112d4ba8904f3e10abf3dcd1bce32820b428f8c0
parent46409d50e5632b28b88cfa4991fffef9adaa490d (diff)
downloadtoybox-8e618f123d13f2c1375cb32a80248f5a63944adc.tar.gz
Make it clearer that CMD is the thread name.
It should come as no surprise to those who followed the development of this that it's not well known which of the various names is actually the thread name. Adding "thread" to the ps --help output seems like a good idea. I'm also assuming that "stat2" was meant to read "stat[2]", since that's how it mostly appeared on the list while discussing this. Still fits in 80 columns.
-rw-r--r--toys/posix/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c
index 773f40c4..665fbdd4 100644
--- a/toys/posix/ps.c
+++ b/toys/posix/ps.c
@@ -91,7 +91,7 @@ config PS
Command line -o fields:
- ARGS CMDLINE minus initial path CMD Command name (stat2)
+ ARGS CMDLINE minus initial path CMD Command (thread) name (stat[2])
CMDLINE Command line (argv[]) COMM Command filename (/proc/$PID/exe)
COMMAND Command file (/proc/$PID/exe) NAME Process name (argv[0] of $PID)