Killall
From DssWiki
{{DISPLAYTITLE:{{#if:|:|}}killall}}
killall is a command line utility available on Unix-like systems. There are two very different implementations.
- The implementation supplied with genuine UNIX System V (including Solaris) is a particularly dangerous command that literally kills all processes that the user is able to kill, which effectively crashes the system if run by root.
- The implementation supplied with Linux is similar to the pkill and skill commands, killing only the processes specified on the command line.
Both commands operate by sending a signal, like kill program.
[edit] Example usage
Kill all processes (UNIX System V version)
killall
List all signals (Linux version)
$ killall -l
Send the USR1 signal to the dd process (Linux version)
killall -s USR1 dd
Kill a process which is not responding (Linux version)
killall -9 dd
The numeric argument specifies a signal to send to the process. In this case, the command sends signal 9 to the process, which is SIGKILL, as opposed to the default SIGTERM.
[edit] See also
[edit] External links
|Linux|default}}|1|killall|url}} killall{{#if:{{Man/{{#if:Linux |Linux|default}}|1|killall|display_section}}|({{Man/{{#if:Linux |Linux|default}}|1|killall|display_section}})}}]{{#if:kill processes by name|: kill processes by name}}{{#if:{{#ifeq: |inline||{{Man/{{#if:Linux |Linux|default}}|1|killall|attrib}}}}| – {{#ifeq: |inline||{{Man/{{#if:Linux |Linux|default}}|1|killall|attrib}}}}}}
{{#if: |
Unix command line programs and builtins (more) | |||
| File and file system management: | cat | chattr | cd | chmod | chown | chgrp | cksum | cmp | cp | du | df | file | fsck | fuser | 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 | ed | ex | fmt | head | iconv | join | less | more | paste | pg | sed | sort | tac | tail | tr | uniq | wc | xargs | ||
| Shell programming: | basename | echo | expr | false | printf | test | true | unset | Printing: | lp |
| Communications: inetd | netstat | ping | rlogin | traceroute | Searching: find | grep | strings | Miscellaneous: banner | bc | cal | dd | man | size | yes | |
