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(-)
From ec855c20afa87ab74ba0f530e2703a946f566cc6 Mon Sep 17 00:00:00 2001 From: Elliott Hughes <[email protected]> Date: Fri, 17 Jun 2016 15:51:25 -0700 Subject: [PATCH] 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 773f40c..665fbdd 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) -- 2.8.0.rc3.226.g39d4020
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
