← Commit list

887d96303

Denys Vlasenko
Denys Vlasenko
2009-11-24
FAILED Duration: 36s

Subject

ps: add comment about -T

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

procps/ps.c+5 -1
@@ -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) {