diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index de07cc960..9508c3a4b 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -473,6 +473,9 @@ | |||
473 | #ifdef CONFIG_TIME | 473 | #ifdef CONFIG_TIME |
474 | APPLET(time, time_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 474 | APPLET(time, time_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
475 | #endif | 475 | #endif |
476 | #ifdef CONFIG_TOP | ||
477 | APPLET(top, top_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
478 | #endif | ||
476 | #ifdef CONFIG_TOUCH | 479 | #ifdef CONFIG_TOUCH |
477 | APPLET(touch, touch_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 480 | APPLET(touch, touch_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
478 | #endif | 481 | #endif |
diff --git a/include/usage.h b/include/usage.h index 1cdaa6681..33a81c467 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1860,6 +1860,15 @@ | |||
1860 | "Options:\n" \ | 1860 | "Options:\n" \ |
1861 | "\t-v\tDisplays verbose resource usage information." | 1861 | "\t-v\tDisplays verbose resource usage information." |
1862 | 1862 | ||
1863 | #define top_trivial_usage \ | ||
1864 | "[-d <seconds>]" | ||
1865 | #define top_full_usage \ | ||
1866 | "top provides an view of processor activity in real time.\n" \ | ||
1867 | "This utility reads the status for all processes in /proc each <seconds>\n" \ | ||
1868 | "and shows the status for however many processes will fit on the screen.\n" \ | ||
1869 | "This utility will not show processes that are started after program startup,\n" \ | ||
1870 | "but it will show the EXIT status for and PIDs that exit while it is running." | ||
1871 | |||
1863 | #define touch_trivial_usage \ | 1872 | #define touch_trivial_usage \ |
1864 | "[-c] FILE [FILE ...]" | 1873 | "[-c] FILE [FILE ...]" |
1865 | #define touch_full_usage \ | 1874 | #define touch_full_usage \ |