summaryrefslogtreecommitdiff
path: root/procps/renice.c
diff options
context:
space:
mode:
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 59194b5..067c8f7 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>