diff options
author | Craig Small <csmall@users.sourceforge.net> | 2005-09-20 03:33:57 +0000 |
---|---|---|
committer | Craig Small <csmall@users.sourceforge.net> | 2005-09-20 03:33:57 +0000 |
commit | 95a0e7c53e9cf72f6ec000c22f43d1721e44c969 (patch) | |
tree | 480a97f841c157c6b308e2721a76d86911e69081 /doc | |
parent | 4d55bc68a252a3473ca68e5cbc4dcd64e6d65578 (diff) |
proc name regex and process by user options for killall
Diffstat (limited to 'doc')
-rw-r--r-- | doc/killall.1 | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/doc/killall.1 b/doc/killall.1 index ed169de..ce1f34b 100644 --- a/doc/killall.1 +++ b/doc/killall.1 @@ -41,7 +41,9 @@ and contains a slash (\fB/\fP), processes executing that particular file will be selected for killing, independent of their name. .PP \fBkillall\fP returns a zero return code if at least one process has been -killed for each listed command. \fBkillall\fP returns non-zero otherwise. +killed for each listed command, or no commands were listed and at least +one process matched the -u and -Z search criteria. \fBkillall\fP returns +non-zero otherwise. .PP A \fBkillall\fP process never kills itself (but may kill other \fBkillall\fP processes). @@ -65,6 +67,12 @@ Interactively ask for confirmation before killing. List all known signal names. .IP "\fB\-q\fP, \fB\-\-quiet\fP" Do not complain if no processes were killed. +.IP "\fB\-r\fP, \fB\-\-regexp\fP" +Interpret process name pattern as an extended regular expression. +.IP "\fB\-s\fP, \fB\-\-signal\fP" +Send this signal instead of SIGTERM. +.IP "\fB\-u\fP, \fB\-\-user\fP" +Kill only processes the specified user owns. Command names are optional. .IP "\fB\-v\fP, \fB\-\-verbose\fP" Report if the signal was successfully sent. .IP "\fB\-V\fP, \fB\-\-version\fP" @@ -74,9 +82,10 @@ Wait for all killed processes to die. \fBkillall\fP checks once per second if any of the killed processes still exist and only returns if none are left. Note that \fBkillall\fP may wait forever if the signal was ignored, had no effect, or if the process stays in zombie state. -.IP \fB\-Z\fP -(SELinux Only) Specify security context: kill only processes with given security context. -Must precede other arguments on the command line. +.IP "\fB\-Z\fP, \fB\-\-context\fP" +(SELinux Only) Specify security context: kill only processes having security +context that match with given expended regular expression pattern. Must precede +other arguments on the command line. Command names are optional. .SH FILES .nf /proc location of the proc file system |