HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
k
killall(1M) killall(1M)
NAME
killall - kill all active processes
SYNOPSIS
/usr/sbin/killall
[signal ]
DESCRIPTION
killall is a procedure used by /usr/sbin/shutdown
to kill all active processes not directly related
to the shutdown procedure.
killall is chiefly used to terminate all processes with open files so that the mounted file systems are no
longer busy and can be unmounted. killall sends the specified signal to all user processes in the sys-
tem, with the following exceptions:
the
init process;
all processes (including background processes) associated with the terminal from which
killall
was invoked;
any ps -ef process, if owned by root;
any sed -e process, if owned by root;
any shutdown process;
any killall process;
any /sbin/rc process.
killall obtains its process information from ps, and therefore may not be able to perfectly identify
which processes to signal (see ps(1)).
If no signal is specified, a default of 9 (kill) is used.
killall is invoked automatically by
shutdown The use of shutdown is recommended over using
killall by itself (see shutdown(1M)).
FILES
/usr/sbin/shutdown
SEE ALSO
fuser(1M), kill(1), ps(1), shutdown(1M), signal(5).
STANDARDS CONFORMANCE
killall: SVID2, SVID3
Section 1M−−392 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005