<tt>kill</tt>: Kill Process



next up previous contents
Next: Exercises Up: Process Commands Previous: ps: Process Status

kill: Kill Process

kill [signal] pid
is used to destroy or terminate a process whose process id is pid. The pid is found by using the ps command.

kill 1427
would terminate the performance meter.

Sometimes, a process needs to be killed, then immediately restarted.

kill -1 1427
will send a HUP (Hang Up - kill and restart) signal to process-id 1427.

In some cases, the process will not catch the normal kill interrupt. When that happens, the ``sure kill" is applied:

kill -9 1427
will send an interrupt to that process.



Super-User
Fri Feb 17 15:55:40 EST 1995