Linux Kill

Kill: use to send signal to process
Kill -9 <PID>: kill process
kill -15 <PID>: send kill signal and let process to kill itself
kill -19 <PID>: send stop signal to process
kill -18 <PID>: send resume signal to process
 
killall <process name>: send kill signal and let process to kill itself
Example: killall httpd
killall -9 <process name>: kill process
 
skill -u <username>: send kill signal to process which start by username and let process to kill itself
skill -9 -u <username>: kill process which start by username
skill -9 <termianl>: kill process which running in the terminal
Example: skill -9 tty1

 

Comments

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Linux RHCE Preparation

Snort+barnyard2+Snorby CentOS 6.5_64 Installation