summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h9
2 files changed, 12 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index de07cc9..9508c3a 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -473,6 +473,9 @@
#ifdef CONFIG_TIME
APPLET(time, time_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_TOP
+ APPLET(top, top_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_TOUCH
APPLET(touch, touch_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index 1cdaa66..33a81c4 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1860,6 +1860,15 @@
"Options:\n" \
"\t-v\tDisplays verbose resource usage information."
+#define top_trivial_usage \
+ "[-d <seconds>]"
+#define top_full_usage \
+ "top provides an view of processor activity in real time.\n" \
+ "This utility reads the status for all processes in /proc each <seconds>\n" \
+ "and shows the status for however many processes will fit on the screen.\n" \
+ "This utility will not show processes that are started after program startup,\n" \
+ "but it will show the EXIT status for and PIDs that exit while it is running."
+
#define touch_trivial_usage \
"[-c] FILE [FILE ...]"
#define touch_full_usage \