pavement

Kill

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
[[kill]] -- surprise -- kills processes. You '''must''' supply a [[pid]]. If you want to kill a process by name, look at [[pkill]] or [[killall]].
 
[[kill]] -- surprise -- kills processes. You '''must''' supply a [[pid]]. If you want to kill a process by name, look at [[pkill]] or [[killall]].
 +
 +
[[kill]] by itself will cause a process to try to finish what it's doing and save it's state before actually stopping the process, if you pass it the -9 option it will instead kill a process immediately and without waiting or saving any state/information. The [[HUP]] flag will cause the process to re-read it's configuration file (basically a restarting of the process).
  
 
See also [[skill]]
 
See also [[skill]]
 
[[Category:System Commands]]
 
[[Category:System Commands]]

Revision as of 14:30, 16 April 2006

kill -- surprise -- kills processes. You must supply a pid. If you want to kill a process by name, look at pkill or killall.

kill by itself will cause a process to try to finish what it's doing and save it's state before actually stopping the process, if you pass it the -9 option it will instead kill a process immediately and without waiting or saving any state/information. The HUP flag will cause the process to re-read it's configuration file (basically a restarting of the process).

See also skill

Personal tools