UTERMINAL
TERMINAL
NEXT
$V1$
NEXT3
$PROMPT$
PAUSE
ENCORE5
ENCORE
BOX
COMMAND
GO
killall
SYNTAX
/etc/killall [- signal]
FUNCTION
killall is a procedure used by /etc/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 will not be busy when umount
is issued.
killall sends a signal to all remaining
processes not belonging to the above group of
of exclusions. If no signal is specified, a
default of 9, i.e. sure kill is used!
Let us see the active processes on your
system by typing ps -e at the prompt!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type ps -e
Please type ps -e
I will help you this time.
$PROMPT$
FORGET1
$PROMPT$ps -e
Observe the result on the terminal!
PID TTY TIME COMMAND
0 ? 0:00 swapper
1 ? 0:01 init
24 co 0:02 sh
25 a1 0:00 getty
18 ? 0:09 cron
20 a3 0:14 transfer
24 a5 1:47 exchange
37 co 2:14 ps -e
At this point you decided to unmount all but the
root file system, therefore you want to kill all
processes that may be performing I/O on the other
file systems, by issuing the command killall.
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type killall
Please type killall
I will help you this time.
$PROMPT$
FORGET2
$PROMPT$killall
Observe the result on the terminal!
$PROMPT$
Finally, let us verify which processes have
been killed, by typing again ps -e!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type ps -e
Please type ps -e
I will help you this time.
$PROMPT$
FORGET3
$ ps -e
Observe the result on the terminal!
PID TTY TIME COMMAND
0 ? 0:00 swapper
1 ? 0:01 init
24 co 0:02 csh
25 a1 0:00 getty
18 ? 0:09 cron
42 co 2:17 ps -e
And indeed process 20 - transfer, and process 24 - exchange
are gone, the only remaining processes are the daemons for
supporting multi-user processing.