Killall
From Wikipedia, the free encyclopedia
- The correct title of this article is killall. The initial letter is shown capitalized due to technical restrictions.
killall is a command line utility initially written for use with the GNU/Linux operating systems. It sends a signal, like kill, to all the named process. It sends the signal specified on the command line (SIGTERM by default) and it cannot kill itself. The equivalent Solaris command is pkill.
Common use:
$ killall <option> processname ...
Some usage examples:
Interactive kill the acroread process
$ killall -i acroread
Quietly kill the acroread process (does not complain if the process doesn't exist)
$ killall -q acroread
List all signals
$ killall -l
Send the USR1 signal to the acroread process
killall -s USR1 acroread
Kill the procces using -9 when it is refusing to die
killall -9 acroread
-9 is an option for killall, it says "killall, use SIGKILL, not SIGINT" SIGKILL cannot be caught by the program, SIGINT can (so the process can clean up after itself).
[edit] See also
[edit] External links
- Linux man page on usr-share-man.org : kill processes by name –
Unix command line programs and builtins (more) | |||
File and file system management: | cat | cd | chmod | chown | chgrp | cp | du | df | file | fsck | ln | ls | lsof | mkdir | mount | mv | pwd | rm | rmdir | split | touch | ||
Process management: | at | chroot | crontab | exit | kill | killall | nice | pgrep | pidof | pkill | ps | sleep | time | top | wait | watch | ||
User Management/Environment: | env | finger | id | mesg | passwd | su | sudo | uname | uptime | w | wall | who | whoami | write | ||
Text processing: | awk | comm | cut | ex | head | iconv | join | less | more | paste | sed | sort | tail | tr | uniq | wc | xargs | ||
Shell programming: | echo | expr | printf | unset | Printing: | lp |
Communications: inetd | netstat | ping | rlogin | traceroute |
Searching: find | grep | strings |
Miscellaneous: banner | bc | cal | man | size | yes |