Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

kill command?

Status
Not open for further replies.

BMW

IS-IT--Management
Mar 25, 2001
78
US
All,

I heard the kill -9 command is really bad but I don't know why. What about kill -5? Please explain.

Thanks,
BMW
 
It's not "really bad", but it's not the nice way to kill a process. Just use kill on its own to send the default signal type, 15 or SIGTERM, which gives the process a chance to clean things up before dying. If that fails, then try a signal 9, SIGKILL.

See man -s 3HEAD signal for a description of all of the available signals. Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top