System Grab Bag

View all man pages from Ubuntu (or from all projects)
'\" -*- coding: UTF-8 -*-

Name

killall5 - send a signal to all processes

Synopsis

killall5 -signalnumber [ -o omitpid [, omitpid ...]] [ -o omitpid [, omitpid ...]...]

Description

killall5 is the SystemV killall command. It sends a signal to all processes except kernel threads and the processes in its own session, so it won't kill the shell that is running the script it was called from. Its primary (only) use is in the rc scripts found in the /etc/init.d directory.

Options

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.

Exit Status

The program return zero if it killed processes. It returns 2 if no process were killed, and 1 if it was unable to find any processes (/proc/ is missing).

See Also

  1. halt(8),
  2. reboot(8),
  3. pidof(8)

Author

Miquel van Smoorenburg