aboutsummaryrefslogtreecommitdiff
path: root/procps/renice.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-11 03:29:49 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /procps/renice.c
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
downloadbusybox-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/renice.c')
-rw-r--r--procps/renice.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/procps/renice.c b/procps/renice.c
index 59194b5f4..067c8f75a 100644
--- a/procps/renice.c
+++ b/procps/renice.c
@@ -19,6 +19,16 @@
* following IDs (if any). Multiple switches are allowed.
*/
+//usage:#define renice_trivial_usage
+//usage: "{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]"
+//usage:#define renice_full_usage "\n\n"
+//usage: "Change scheduling priority for a running process\n"
+//usage: "\nOptions:"
+//usage: "\n -n Adjust current nice value (smaller is faster)"
+//usage: "\n -p Process id(s) (default)"
+//usage: "\n -g Process group id(s)"
+//usage: "\n -u Process user name(s) and/or id(s)"
+
#include "libbb.h"
#include <sys/resource.h>