diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-09 16:56:38 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-09 16:56:38 +0000 |
commit | 86e42219374c2887b0ee88ef07741d0df5942dbb (patch) | |
tree | 0dba091508cc1a72f77a0c6eae2afed1d0d550aa /include/usage.h | |
parent | 32c75acf86a832e5002357bc5f95d489cfd6170f (diff) | |
download | busybox-w32-86e42219374c2887b0ee88ef07741d0df5942dbb.tar.gz busybox-w32-86e42219374c2887b0ee88ef07741d0df5942dbb.tar.bz2 busybox-w32-86e42219374c2887b0ee88ef07741d0df5942dbb.zip |
- add chrt applet.
text data bss dec hex filename
769 0 0 769 301 miscutils/chrt.o
and could use some further shrinkage
git-svn-id: svn://busybox.net/trunk/busybox@18055 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index d8faa4f12..4d1ecb8f5 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -382,6 +382,22 @@ | |||
382 | #define bbsh_full_usage \ | 382 | #define bbsh_full_usage \ |
383 | "The bbsh shell (command interpreter)" | 383 | "The bbsh shell (command interpreter)" |
384 | 384 | ||
385 | #define chrt_trivial_usage \ | ||
386 | "[OPTION]... [prio] [pid | command [arg]...]" | ||
387 | #define chrt_full_usage \ | ||
388 | "manipulate real-time attributes of a process" \ | ||
389 | "\n\nOptions:\n" \ | ||
390 | " -p operate on pid\n" \ | ||
391 | " -r set scheduling policy to SCHED_RR\n" \ | ||
392 | " -f set scheduling policy to SCHED_FIFO\n" \ | ||
393 | " -o set scheduling policy to SCHED_OTHER\n" \ | ||
394 | " -m show min and max priorities" | ||
395 | |||
396 | #define chrt_example_usage \ | ||
397 | "$ chrt -r 4 sleep 900 ; x=$!\n" \ | ||
398 | "$ chrt -f -p 3 $x\n" \ | ||
399 | "You need CAP_SYS_NICE privileges to set scheduling attributes of a process" | ||
400 | |||
385 | #define cp_trivial_usage \ | 401 | #define cp_trivial_usage \ |
386 | "[OPTION]... SOURCE DEST" | 402 | "[OPTION]... SOURCE DEST" |
387 | #define cp_full_usage \ | 403 | #define cp_full_usage \ |