summaryrefslogtreecommitdiff
path: root/procps/ps.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-24 03:52:24 +0100
committerDenys Vlasenko2009-11-24 03:52:24 +0100
commit887d96303725d784e245c6562cf9fd5583b37224 (patch)
tree992bf9eb34b55292fc5c91c632ca85417631ff3f /procps/ps.c
parentc14bf213320500ab733da5cd2b5dc1d16efa5051 (diff)
downloadbusybox-887d96303725d784e245c6562cf9fd5583b37224.zip
busybox-887d96303725d784e245c6562cf9fd5583b37224.tar.gz
ps: add comment about -T
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/ps.c')
-rw-r--r--procps/ps.c6
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) {