Killall: Difference between revisions
Appearance
Content deleted Content added
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}} |
|||
⚫ | |||
{{ |
{{More citations needed|date=June 2020}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | * The implementation supplied with genuine [[UNIX System V]] (including [[Solaris (operating system)|Solaris]]) and |
||
⚫ | |||
⚫ | |||
==Example usage== |
==Example usage== |
||
⚫ | |||
⚫ | |||
⚫ | |||
</syntaxhighlight> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
killall |
|||
⚫ | |||
</source> |
|||
Kill the [[GNOME Display Manager]] |
|||
<source lang="bash"> |
|||
⚫ | |||
</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]]. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
*[[pidof]] |
|||
==External links== |
==External links== |
||
*{{man| |
* {{man|8|killall|Solaris}} |
||
*{{man|1|killall| |
* {{man|1|killall|die.net|kill processes by name}} |
||
*{{man|1|killall| |
* {{man|1|killall|FreeBSD}} |
||
* {{man|1|killall|Darwin}} |
|||
{{ |
{{Unix commands}} |
||
[[Category:Unix process and task |
[[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
This article needs additional citations for verification. (June 2020) |
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
andskill
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