Jump to content

Killall: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
DixonDBot (talk | contribs)
m r2.6.5) (robot Adding: ro:Killall
Correction of unnecessary wording.
 
(30 intermediate revisions by 25 users not shown)
Line 1: Line 1:
{{Short description|Command line utility}}
{{lowercase|title=killall}}
{{Unreferenced|date=January 2010}}
{{More citations needed|date=June 2020}}
{{lowercase|title=killall}}
<code>'''killall'''</code> is a [[command-line interface|command line]] utility available on [[Unix-like]] systems. There are two very different implementations.


* The implementation supplied with genuine [[UNIX System V]] (including [[Solaris (operating system)|Solaris]]) and [[Linux]] sysvinit tools kills '''all''' processes that the user is able to kill, potentially shutting down the system if run by root.
'''killall''' is a [[command line interface|command line]] utility available on [[Unix-like]] systems. There are two very different implementations.
* The implementation supplied with the [[FreeBSD]] (including [[Mac OS X]]) and [[Linux]] psmisc tools is similar to the <code>[[pkill]]</code> and <code>skill</code> commands, killing only the processes specified on the command line.


Both commands operate by sending a [[Unix signal|signal]], like the <code>[[Kill (command)|kill]]</code> program.
* The implementation supplied with genuine [[UNIX System V]] (including [[Solaris (operating system)|Solaris]]) and with the [[Linux]] [ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/ sysvinit] tools (as [[killall5]]) is a particularly dangerous command that kills all processes that the user is able to kill, effectively shutting down the system if run by root.
* The implementation supplied with the [[FreeBSD]] (including [[Mac OS X]]) and [[Linux]] [http://psmisc.sourceforge.net/ psmisc] tools is similar to the [[pkill]] and skill commands, killing only the processes specified on the command line.

Both commands operate by sending a [[Signal (computing)|signal]], like the [[Kill (Unix)|kill]] program.


==Example usage==
==Example usage==
Kill all processes named xmms:
<syntaxhighlight lang="bash">
killall xmms
</syntaxhighlight>


==See also==
Kill all processes (UNIX System V version)
{{Portal|Free and open-source software}}
<source lang="bash">
* [[List of Unix commands]]
killall
* [[Signal (computing)]]
</source>

Kill the [[GNOME Display Manager]]

<source lang="bash">
killall gdm
</source>

Kill the Dock ([[Mac OS X]])
<source lang="bash">
killall Dock
</source>

List all signals (FreeBSD/Linux version)
<source lang="bash">
killall -l
</source>

Send the [[SIGUSR1 and SIGUSR2|USR1]] signal to the dd process (FreeBSD/Linux version)
<source lang="bash">
killall -s USR1 dd
</source>

Kill a process which is not responding (FreeBSD/Linux version)
<source lang="bash">
killall -9 dd
</source>

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]].

== See also ==
{{Portal|Free software}}

* [[List of Unix programs]]
*[[Signal (computing)|Signals]]
*[[pidof]]


==External links==
==External links==
*{{man|1|killall||kill processes by name}}
* {{man|8|killall|Solaris}}
*{{man|1|killall|FreeBSD}}
* {{man|1|killall|die.net|kill processes by name}}
*{{man|1|killall|Darwin}}
* {{man|1|killall|FreeBSD}}
* {{man|1|killall|Darwin}}


{{unix commands}}
{{Unix commands}}


[[Category:Unix process and task management-related software]]
[[Category:Unix process- and task-management-related software]]


[[ca:Killall]]
[[cs:Killall]]
[[de:Kill (Unix)#killall]]
[[de:Kill (Unix)#killall]]
[[es:Killall]]
[[it:Killall]]
[[hu:Killall (unix)]]
[[ja:Killall]]
[[pl:Killall]]
[[ro:Killall]]
[[ru:Killall]]
[[uk:Killall]]

Latest revision as of 12:01, 15 May 2024

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) and Linux sysvinit tools kills all processes that the user is able to kill, potentially shutting down the system if run by root.
  • The implementation supplied with the FreeBSD (including Mac OS X) and Linux psmisc tools 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 the kill program.

Example usage

[edit]

Kill all processes named xmms:

killall xmms

See also

[edit]
[edit]