aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-01-04 11:32:33 +0000
committerRon Yorston <rmy@pobox.com>2017-01-04 11:41:38 +0000
commitf9cf712f8a640ac2d250dfa77dd809ab033f618a (patch)
treec8f6135b5842e0110ca54d6690ab95b28792bb1e /procps
parent71ecc8033e6989996057b32577e71148fd544596 (diff)
parentc6725b0af68238a456690146adec763c04f66c82 (diff)
downloadbusybox-w32-f9cf712f8a640ac2d250dfa77dd809ab033f618a.tar.gz
busybox-w32-f9cf712f8a640ac2d250dfa77dd809ab033f618a.tar.bz2
busybox-w32-f9cf712f8a640ac2d250dfa77dd809ab033f618a.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'procps')
-rw-r--r--procps/Kbuild.src2
-rw-r--r--procps/top.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/procps/Kbuild.src b/procps/Kbuild.src
index 83af05a05..e7adc7340 100644
--- a/procps/Kbuild.src
+++ b/procps/Kbuild.src
@@ -9,3 +9,5 @@ lib-y:=
9INSERT 9INSERT
10 10
11lib-$(CONFIG_ASH) += kill.o # used for built-in kill by ash 11lib-$(CONFIG_ASH) += kill.o # used for built-in kill by ash
12lib-$(CONFIG_SH_IS_ASH) += kill.o # used for built-in kill by ash
13lib-$(CONFIG_BASH_IS_ASH) += kill.o # used for built-in kill by ash
diff --git a/procps/top.c b/procps/top.c
index c66cdb764..71207bac1 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -1042,7 +1042,9 @@ static unsigned handle_input(unsigned scan_mask, unsigned interval)
1042//usage: "Provide a view of process activity in real time." 1042//usage: "Provide a view of process activity in real time."
1043//usage: "\n""Read the status of all processes from /proc each SECONDS" 1043//usage: "\n""Read the status of all processes from /proc each SECONDS"
1044//usage: "\n""and display a screenful of them." 1044//usage: "\n""and display a screenful of them."
1045//usage: "\n""Keys:" 1045//usage: "\n"
1046//usage: IF_FEATURE_USE_TERMIOS(
1047//usage: "Keys:"
1046//usage: "\n"" N/M" 1048//usage: "\n"" N/M"
1047//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/P") 1049//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/P")
1048//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/T") 1050//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/T")
@@ -1062,6 +1064,7 @@ static unsigned handle_input(unsigned scan_mask, unsigned interval)
1062//usage: "\n"" Q,^C: exit" 1064//usage: "\n"" Q,^C: exit"
1063//usage: "\n" 1065//usage: "\n"
1064//usage: "\n""Options:" 1066//usage: "\n""Options:"
1067//usage: )
1065//usage: "\n"" -b Batch mode" 1068//usage: "\n"" -b Batch mode"
1066//usage: "\n"" -n N Exit after N iterations" 1069//usage: "\n"" -n N Exit after N iterations"
1067//usage: "\n"" -d N Delay between updates" 1070//usage: "\n"" -d N Delay between updates"