kill — Terminate or Signal Processes

Synopsis

/usr/bin/kill -s signal pid... 
/usr/bin/kill -l [exit-status] 
/usr/bin/kill [-signal] pid... 
sh, csh, and ksh
kill [-sig] [pid] [%job-id]... 
kill -l 

Description

At times, you may need to eliminate a process entirely because you want to stop a large job before it completes or you detect a process that is hung or not working properly. To delete a process, use the kill command. The kill command sends a signal to the process or processes specified by each pid operand. Use the ps(1) command to find the process ID for the process you want to kill.

When you kill a process, you are actually telling the system to send the process a signal. There are 36 numbered signals and 4 unnumbered ones. Refer ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.