KILLALL5(8)
โจ KILLALL5(8) โ killall5 โจ
๐ NAME
killall5 - send a signal to all processes ๐ฆ
๐ SYNOPSIS
killall5 -signalnumber [-o omitpid[,omitpid...]] [-o
omitpid[,omitpid...]...]
๐ธ DESCRIPTION
okay so killall5 is the SystemV killall command, bestie ๐
it sends a signal to all processes except kernel threads and the processes in its own session, so it won't accidentally nuke the shell that's running the script it was called from ๐ญ no cap, that's the whole glow-up. Its primary (only) use is in the rc scripts found in the /etc/init.d directory ๐ง
โจ OPTIONS โจ
-o omitpidโ tellskillall5to omit processes with that process id ๐
๐ฆ NOTES
killall5 can also be invoked as pidof(8), which is simply a (symbolic) link to the killall5 program ๐ it's giving multitasking, iykyk ๐ซถ
๐ฅ EXIT STATUS
the program returns 0 if it killed processes ๐ it returns 2 if no process was killed, and 1 if it was unable to find any processes (/proc/ is missing) ๐ so if /proc/ is gone, that's a whole vibe check, periodt ๐ญ
๐ SEE ALSO
halt(8), reboot(8), pidof(8) โญ
๐ AUTHOR
Miquel van Smoorenburg ๐
sysvinit ยท 04 Nov 2003 ยท KILLALL5(8) โ bye bestie, stay iconic ๐๐งโจ
๐ฆ where this page comes from
- debian bookworm: sysvinit-utils 3.06-4 ยท GPL-2.0-or-later
- debian trixie: sysvinit-utils 3.14-4 ยท GPL-2.0-or-later
- ubuntu noble: sysvinit-utils 3.08-6ubuntu3 ยท GPL-2.0-or-later
- ubuntu questing: sysvinit-utils 3.14-4ubuntu1 ยท GPL-2.0-or-later
- ubuntu resolute: sysvinit-utils 3.15-5ubuntu1 ยท GPL-2.0-or-later
- ubuntu stonking: sysvinit-utils 3.18-1ubuntu1 ยท GPL-2.0-or-later
- Copyright (C) 1998-2003 Miquel van Smoorenburg
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms