diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-27 14:25:33 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-27 14:25:33 +0000 |
commit | 562b7f61bb3da63466658e68249fa20973b883f0 (patch) | |
tree | fd0cff9651bdffc5f4b8ed5bfaee7b2671384e08 /include/usage.h | |
parent | cb78d58c497f1d6093499a4bb46b6c43855bc065 (diff) | |
download | busybox-w32-562b7f61bb3da63466658e68249fa20973b883f0.tar.gz busybox-w32-562b7f61bb3da63466658e68249fa20973b883f0.tar.bz2 busybox-w32-562b7f61bb3da63466658e68249fa20973b883f0.zip |
kill: implement killall5. OpenWRT folks will be happy.
However their code was unusably different from sysvinit original.
Run tested.
git-svn-id: svn://busybox.net/trunk/busybox@16235 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/include/usage.h b/include/usage.h index da176d156..8b8d64e84 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1485,9 +1485,9 @@ USE_FEATURE_DATE_ISOFMT( \ | |||
1485 | "\t\t\t[ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]" | 1485 | "\t\t\t[ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]" |
1486 | 1486 | ||
1487 | #define kill_trivial_usage \ | 1487 | #define kill_trivial_usage \ |
1488 | "[-signal] process-id [process-id ...]" | 1488 | "[-l] [-signal] process-id [process-id ...]" |
1489 | #define kill_full_usage \ | 1489 | #define kill_full_usage \ |
1490 | "Send a signal (default is SIGTERM) to the specified process(es).\n\n" \ | 1490 | "Send a signal (default is TERM) to the specified process(es).\n\n" \ |
1491 | "Options:\n" \ | 1491 | "Options:\n" \ |
1492 | "\t-l\tList all signal names and numbers" | 1492 | "\t-l\tList all signal names and numbers" |
1493 | #define kill_example_usage \ | 1493 | #define kill_example_usage \ |
@@ -1501,15 +1501,22 @@ USE_FEATURE_DATE_ISOFMT( \ | |||
1501 | "$ kill 252\n" | 1501 | "$ kill 252\n" |
1502 | 1502 | ||
1503 | #define killall_trivial_usage \ | 1503 | #define killall_trivial_usage \ |
1504 | "[-q] [-signal] process-name [process-name ...]" | 1504 | "[-l] [-q] [-signal] process-name [process-name ...]" |
1505 | #define killall_full_usage \ | 1505 | #define killall_full_usage \ |
1506 | "Send a signal (default is SIGTERM) to the specified process(es).\n\n" \ | 1506 | "Send a signal (default is TERM) to the specified process(es).\n\n" \ |
1507 | "Options:\n" \ | 1507 | "Options:\n" \ |
1508 | "\t-l\tList all signal names and numbers\n" \ | 1508 | "\t-l\tList all signal names and numbers\n" \ |
1509 | "\t-q\tDo not complain if no processes were killed" | 1509 | "\t-q\tDo not complain if no processes were killed" |
1510 | #define killall_example_usage \ | 1510 | #define killall_example_usage \ |
1511 | "$ killall apache\n" | 1511 | "$ killall apache\n" |
1512 | 1512 | ||
1513 | #define killall5_trivial_usage \ | ||
1514 | "[-l] [-signal]" | ||
1515 | #define killall5_full_usage \ | ||
1516 | "Send a signal (default is TERM) to all processes outside current session.\n\n" \ | ||
1517 | "Options:\n" \ | ||
1518 | "\t-l\tList all signal names and numbers\n" \ | ||
1519 | |||
1513 | #define klogd_trivial_usage \ | 1520 | #define klogd_trivial_usage \ |
1514 | "[-c n] [-n]" | 1521 | "[-c n] [-n]" |
1515 | #define klogd_full_usage \ | 1522 | #define klogd_full_usage \ |