summaryrefslogtreecommitdiff
path: root/applets/usage.c
diff options
context:
space:
mode:
authorEric Andersen2000-07-21 21:32:12 +0000
committerEric Andersen2000-07-21 21:32:12 +0000
commitbf960f58e2fc56402cc5c3c090d90b706a4de5f2 (patch)
treead4f94b99f7e82e9e4a1245c271ef4962b16e764 /applets/usage.c
parent7df345e1494e61ad94dd03f9a48f8e5b52a21d2b (diff)
downloadbusybox-bf960f58e2fc56402cc5c3c090d90b706a4de5f2.zip
busybox-bf960f58e2fc56402cc5c3c090d90b706a4de5f2.tar.gz
Added 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>
-Erik
Diffstat (limited to 'applets/usage.c')
-rw-r--r--applets/usage.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/applets/usage.c b/applets/usage.c
index 1031f24..3f367f9 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -859,6 +859,18 @@ const char reboot_usage[] =
;
#endif
+
+#if defined BB_RENICE
+const char renice_usage[] =
+ "renice priority pid [pid ...]\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nChanges priority of running processes. Allowed priorities range\n"
+ "from 20 (the process runs only when nothing else is running) to 0\n"
+ "(default priority) to -20 (almost nothing else ever gets to run).\n"
+#endif
+ ;
+#endif
+
#if defined BB_RM
const char rm_usage[] =
"rm [OPTION]... FILE...\n"