Killall

From DssWiki

Jump to: navigation, search

{{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

  • [{{Man/{{#if:Linux

|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}}}}}}


<noinclude>
Personal tools
efta 468 03-27-08 JOIN OUR TEAM!!