[git commit master] ps: add comment about -T

Denys Vlasenko vda.linux at googlemail.com
Tue Nov 24 02:52:24 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=887d96303725d784e245c6562cf9fd5583b37224
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 procps/ps.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/procps/ps.c b/procps/ps.c
index be11a1b..0b674ff 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -483,7 +483,11 @@ int ps_main(int argc UNUSED_PARAM, char **argv)
 	// -l  Generate a long listing
 	// -o col1,col2,col3=header
 	//     Select which columns to display
-	/* We allow (and ignore) most of the above. FIXME */
+	/* We allow (and ignore) most of the above. FIXME.
+	 * -T is picked for threads (POSIX hasn't it standardized).
+	 * procps v3.2.7 supports -T and shows tids as SPID column,
+	 * it also supports -L where it shows tids as LWP column.
+	 */
 	opt_complementary = "o::";
 	opt = getopt32(argv, "Zo:aAdefl"IF_FEATURE_SHOW_THREADS("T"), &opt_o);
 	if (opt_o) {
-- 
1.6.3.3



More information about the busybox-cvs mailing list