diff options
Diffstat (limited to 'procps/ps.c')
-rw-r--r-- | procps/ps.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/procps/ps.c b/procps/ps.c index c9d33daf4..902811f31 100644 --- a/procps/ps.c +++ b/procps/ps.c | |||
@@ -8,6 +8,55 @@ | |||
8 | * | 8 | * |
9 | * Licensed under GPLv2, see file LICENSE in this source tree. | 9 | * Licensed under GPLv2, see file LICENSE in this source tree. |
10 | */ | 10 | */ |
11 | //config:config PS | ||
12 | //config: bool "ps" | ||
13 | //config: default y | ||
14 | //config: help | ||
15 | //config: ps gives a snapshot of the current processes. | ||
16 | //config: | ||
17 | //config:config FEATURE_PS_WIDE | ||
18 | //config: bool "Enable wide output option (-w)" | ||
19 | //config: default y | ||
20 | //config: depends on PS && !DESKTOP | ||
21 | //config: help | ||
22 | //config: Support argument 'w' for wide output. | ||
23 | //config: If given once, 132 chars are printed, and if given more | ||
24 | //config: than once, the length is unlimited. | ||
25 | //config: | ||
26 | //config:config FEATURE_PS_LONG | ||
27 | //config: bool "Enable long output option (-l)" | ||
28 | //config: default y | ||
29 | //config: depends on PS && !DESKTOP | ||
30 | //config: help | ||
31 | //config: Support argument 'l' for long output. | ||
32 | //config: Adds fields PPID, RSS, START, TIME & TTY | ||
33 | //config: | ||
34 | //config:config FEATURE_PS_TIME | ||
35 | //config: bool "Enable time and elapsed time output" | ||
36 | //config: default y | ||
37 | //config: depends on PS && DESKTOP | ||
38 | //config: select PLATFORM_LINUX | ||
39 | //config: help | ||
40 | //config: Support -o time and -o etime output specifiers. | ||
41 | //config: | ||
42 | //config:config FEATURE_PS_ADDITIONAL_COLUMNS | ||
43 | //config: bool "Enable additional ps columns" | ||
44 | //config: default y | ||
45 | //config: depends on PS && DESKTOP | ||
46 | //config: help | ||
47 | //config: Support -o rgroup, -o ruser, -o nice output specifiers. | ||
48 | //config: | ||
49 | //config:config FEATURE_PS_UNUSUAL_SYSTEMS | ||
50 | //config: bool "Support Linux prior to 2.4.0 and non-ELF systems" | ||
51 | //config: default n | ||
52 | //config: depends on FEATURE_PS_TIME | ||
53 | //config: help | ||
54 | //config: Include support for measuring HZ on old kernels and non-ELF systems | ||
55 | //config: (if you are on Linux 2.4.0+ and use ELF, you don't need this) | ||
56 | |||
57 | //applet:IF_PS(APPLET(ps, BB_DIR_BIN, BB_SUID_DROP)) | ||
58 | |||
59 | //kbuild:lib-$(CONFIG_PS) += ps.o | ||
11 | 60 | ||
12 | //usage:#if ENABLE_DESKTOP | 61 | //usage:#if ENABLE_DESKTOP |
13 | //usage: | 62 | //usage: |