Can’t killall on Debian 9 Stretch

Software

Trying to kill a process:

$ killall process
==> ash: 1: killall: command not found

Weird.

# apt-get update
# apt-cache search killall
==> psmisc - utilities that use the proc file system
==> sysvinit-utils - System-V-like utilities

Must be more hot systemd garbage.

# apt-get install sysvinit-utils
==> sysvinit-utils is already the newest version

I stand corrected! Trying again:

# apt-get install psmisc
==> Unpacking psmisc [..] Setting up psmisc [..]

Let’s try:

$ killall process
==> (exit 0)

Done!

Author bio and support

Me!

Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!