KILLALL5(8)

๐Ÿ“ฆ
version 3.18 ยท 5 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ 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 โ€” tells killall5 to 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