diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/free.c | 2 | ||||
-rw-r--r-- | procps/iostat.c | 2 | ||||
-rw-r--r-- | procps/kill.c | 2 | ||||
-rw-r--r-- | procps/lsof.c | 2 | ||||
-rw-r--r-- | procps/mpstat.c | 2 | ||||
-rw-r--r-- | procps/nmeter.c | 2 | ||||
-rw-r--r-- | procps/pgrep.c | 4 | ||||
-rw-r--r-- | procps/pidof.c | 2 | ||||
-rw-r--r-- | procps/pmap.c | 8 | ||||
-rw-r--r-- | procps/powertop.c | 2 | ||||
-rw-r--r-- | procps/pstree.c | 2 | ||||
-rw-r--r-- | procps/pwdx.c | 2 | ||||
-rw-r--r-- | procps/sysctl.c | 2 | ||||
-rw-r--r-- | procps/top.c | 2 | ||||
-rw-r--r-- | procps/uptime.c | 2 | ||||
-rw-r--r-- | procps/watch.c | 2 |
16 files changed, 23 insertions, 17 deletions
diff --git a/procps/free.c b/procps/free.c index ee0cd981a..3acfc4072 100644 --- a/procps/free.c +++ b/procps/free.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Licensed under GPLv2, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config FREE | 9 | //config:config FREE |
10 | //config: bool "free (2.4 kb)" | 10 | //config: bool "free (3.1 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX #sysinfo() | 12 | //config: select PLATFORM_LINUX #sysinfo() |
13 | //config: help | 13 | //config: help |
diff --git a/procps/iostat.c b/procps/iostat.c index 09aae7102..7bf567c34 100644 --- a/procps/iostat.c +++ b/procps/iostat.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Licensed under GPLv2, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config IOSTAT | 9 | //config:config IOSTAT |
10 | //config: bool "iostat (7.4 kb)" | 10 | //config: bool "iostat (7.6 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: Report CPU and I/O statistics | 13 | //config: Report CPU and I/O statistics |
diff --git a/procps/kill.c b/procps/kill.c index 4477dedb7..073e74332 100644 --- a/procps/kill.c +++ b/procps/kill.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | //config:config KILL | 10 | //config:config KILL |
11 | //config: bool "kill (2.6 kb)" | 11 | //config: bool "kill (3.1 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: The command kill sends the specified signal to the specified | 14 | //config: The command kill sends the specified signal to the specified |
diff --git a/procps/lsof.c b/procps/lsof.c index 4917cf899..21ac85ed3 100644 --- a/procps/lsof.c +++ b/procps/lsof.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Licensed under GPLv2, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config LSOF | 9 | //config:config LSOF |
10 | //config: bool "lsof (3.6 kb)" | 10 | //config: bool "lsof (3.4 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: Show open files in the format of: | 13 | //config: Show open files in the format of: |
diff --git a/procps/mpstat.c b/procps/mpstat.c index 3c72f2705..e7dc4312a 100644 --- a/procps/mpstat.c +++ b/procps/mpstat.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Licensed under GPLv2, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config MPSTAT | 9 | //config:config MPSTAT |
10 | //config: bool "mpstat (10 kb)" | 10 | //config: bool "mpstat (9.8 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: Per-processor statistics | 13 | //config: Per-processor statistics |
diff --git a/procps/nmeter.c b/procps/nmeter.c index 166c8ab18..a01d19a6a 100644 --- a/procps/nmeter.c +++ b/procps/nmeter.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Contact me: vda.linux@googlemail.com | 6 | * Contact me: vda.linux@googlemail.com |
7 | */ | 7 | */ |
8 | //config:config NMETER | 8 | //config:config NMETER |
9 | //config: bool "nmeter (10 kb)" | 9 | //config: bool "nmeter (11 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: Prints selected system stats continuously, one line per update. | 12 | //config: Prints selected system stats continuously, one line per update. |
diff --git a/procps/pgrep.c b/procps/pgrep.c index a16a6e959..495e0ef9d 100644 --- a/procps/pgrep.c +++ b/procps/pgrep.c | |||
@@ -7,13 +7,13 @@ | |||
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config PGREP | 9 | //config:config PGREP |
10 | //config: bool "pgrep (6.8 kb)" | 10 | //config: bool "pgrep (6.5 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: Look for processes by name. | 13 | //config: Look for processes by name. |
14 | //config: | 14 | //config: |
15 | //config:config PKILL | 15 | //config:config PKILL |
16 | //config: bool "pkill (7.6 kb)" | 16 | //config: bool "pkill (7.5 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: Send signals to processes by name. | 19 | //config: Send signals to processes by name. |
diff --git a/procps/pidof.c b/procps/pidof.c index 98d7949f8..5595e3421 100644 --- a/procps/pidof.c +++ b/procps/pidof.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Licensed under GPLv2, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config PIDOF | 9 | //config:config PIDOF |
10 | //config: bool "pidof (6.6 kb)" | 10 | //config: bool "pidof (6.3 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: Pidof finds the process id's (pids) of the named programs. It prints | 13 | //config: Pidof finds the process id's (pids) of the named programs. It prints |
diff --git a/procps/pmap.c b/procps/pmap.c index c8fa0d280..9e541c707 100644 --- a/procps/pmap.c +++ b/procps/pmap.c | |||
@@ -37,6 +37,12 @@ | |||
37 | # define DASHES "--------" | 37 | # define DASHES "--------" |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #if ULLONG_MAX == 0xffffffff | ||
41 | # define AFMTLL "8" | ||
42 | #else | ||
43 | # define AFMTLL "16" | ||
44 | #endif | ||
45 | |||
40 | enum { | 46 | enum { |
41 | OPT_x = 1 << 0, | 47 | OPT_x = 1 << 0, |
42 | OPT_q = 1 << 1, | 48 | OPT_q = 1 << 1, |
@@ -46,7 +52,7 @@ static void print_smaprec(struct smaprec *currec, void *data) | |||
46 | { | 52 | { |
47 | unsigned opt = (uintptr_t)data; | 53 | unsigned opt = (uintptr_t)data; |
48 | 54 | ||
49 | printf("%0" AFMT "lx ", currec->smap_start); | 55 | printf("%0" AFMTLL "llx ", currec->smap_start); |
50 | 56 | ||
51 | if (opt & OPT_x) | 57 | if (opt & OPT_x) |
52 | printf("%7lu %7lu %7lu %7lu ", | 58 | printf("%7lu %7lu %7lu %7lu ", |
diff --git a/procps/powertop.c b/procps/powertop.c index 004b4ce19..e70f5433b 100644 --- a/procps/powertop.c +++ b/procps/powertop.c | |||
@@ -9,7 +9,7 @@ | |||
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 POWERTOP | 11 | //config:config POWERTOP |
12 | //config: bool "powertop (9.1 kb)" | 12 | //config: bool "powertop (9.6 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: help | 14 | //config: help |
15 | //config: Analyze power consumption on Intel-based laptops | 15 | //config: Analyze power consumption on Intel-based laptops |
diff --git a/procps/pstree.c b/procps/pstree.c index 4fda1c21c..1d124d2d2 100644 --- a/procps/pstree.c +++ b/procps/pstree.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * Licensed under GPLv2, see file LICENSE in this source tree. | 10 | * Licensed under GPLv2, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | //config:config PSTREE | 12 | //config:config PSTREE |
13 | //config: bool "pstree (9.4 kb)" | 13 | //config: bool "pstree (9.3 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: help | 15 | //config: help |
16 | //config: Display a tree of processes. | 16 | //config: Display a tree of processes. |
diff --git a/procps/pwdx.c b/procps/pwdx.c index 6009e2aa3..24ba25d90 100644 --- a/procps/pwdx.c +++ b/procps/pwdx.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * Licensed under GPLv2, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | //config:config PWDX | 10 | //config:config PWDX |
11 | //config: bool "pwdx (3.5 kb)" | 11 | //config: bool "pwdx (3.7 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: Report current working directory of a process | 14 | //config: Report current working directory of a process |
diff --git a/procps/sysctl.c b/procps/sysctl.c index 827e09cce..5fa7646d1 100644 --- a/procps/sysctl.c +++ b/procps/sysctl.c | |||
@@ -11,7 +11,7 @@ | |||
11 | * v1.01.1 - busybox applet aware by <solar@gentoo.org> | 11 | * v1.01.1 - busybox applet aware by <solar@gentoo.org> |
12 | */ | 12 | */ |
13 | //config:config BB_SYSCTL | 13 | //config:config BB_SYSCTL |
14 | //config: bool "sysctl (6.9 kb)" | 14 | //config: bool "sysctl (7.4 kb)" |
15 | //config: default y | 15 | //config: default y |
16 | //config: help | 16 | //config: help |
17 | //config: Configure kernel parameters at runtime. | 17 | //config: Configure kernel parameters at runtime. |
diff --git a/procps/top.c b/procps/top.c index f016f5501..3db077060 100644 --- a/procps/top.c +++ b/procps/top.c | |||
@@ -50,7 +50,7 @@ | |||
50 | * chroot . ./top -bn1 >top1.out | 50 | * chroot . ./top -bn1 >top1.out |
51 | */ | 51 | */ |
52 | //config:config TOP | 52 | //config:config TOP |
53 | //config: bool "top (17 kb)" | 53 | //config: bool "top (18 kb)" |
54 | //config: default y | 54 | //config: default y |
55 | //config: help | 55 | //config: help |
56 | //config: The top program provides a dynamic real-time view of a running | 56 | //config: The top program provides a dynamic real-time view of a running |
diff --git a/procps/uptime.c b/procps/uptime.c index 3262f41b4..31581271f 100644 --- a/procps/uptime.c +++ b/procps/uptime.c | |||
@@ -12,7 +12,7 @@ | |||
12 | * Added FEATURE_UPTIME_UTMP_SUPPORT flag. | 12 | * Added FEATURE_UPTIME_UTMP_SUPPORT flag. |
13 | */ | 13 | */ |
14 | //config:config UPTIME | 14 | //config:config UPTIME |
15 | //config: bool "uptime (632 bytes)" | 15 | //config: bool "uptime (3.7 kb)" |
16 | //config: default y | 16 | //config: default y |
17 | //config: select PLATFORM_LINUX #sysinfo() | 17 | //config: select PLATFORM_LINUX #sysinfo() |
18 | //config: help | 18 | //config: help |
diff --git a/procps/watch.c b/procps/watch.c index 420e6d3d1..dbe427aad 100644 --- a/procps/watch.c +++ b/procps/watch.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | //config:config WATCH | 10 | //config:config WATCH |
11 | //config: bool "watch (4.1 kb)" | 11 | //config: bool "watch (4.4 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: watch is used to execute a program periodically, showing | 14 | //config: watch is used to execute a program periodically, showing |