From 8e618f123d13f2c1375cb32a80248f5a63944adc Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 17 Jun 2016 15:51:25 -0700 Subject: 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. --- toys/posix/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3