Kill,pkill,killall These commands are used to kill the process.
Ways to find a process:
Ps-ef|grep
PIDOF Process Name
PS command
Http://www.cnblogs.com/along1226/p/5353959.html
Kill [Signal code] process ID
[[Email protected]_134 ~]#Kill-L1) SIGHUP2) SIGINT3) Sigquit4) Sigill5) SIGTRAP6) SIGABRT7) Sigbus8) SIGFPE9) SIGKILLTen) SIGUSR1 One) SIGSEGV A) SIGUSR2 -) Sigpipe -) SIGALRM the) SIGTERM -) Sigstkflt -) SIGCHLD -) Sigcont +) SIGSTOP -) SIGTSTP +) Sigttin A) Sigttou at) Sigurg -) sigxcpu -) Sigxfsz -) SIGVTALRM -) sigprof -) Sigwinch in) SIGIO -) SIGPWR to) Sigsys the) sigrtmin *) sigrtmin+1 $) sigrtmin+2 Panax Notoginseng) sigrtmin+3 -) sigrtmin+4 the) sigrtmin+5 +) sigrtmin+6 A) sigrtmin+7 the) sigrtmin+8 +) sigrtmin+9 -) sigrtmin+Ten $) sigrtmin+ One $) sigrtmin+ A -) sigrtmin+ - -) sigrtmin+ - the) sigrtmin+ the -) sigrtmax- - Wuyi) sigrtmax- - the) sigrtmax- A -) sigrtmax- One Wu) sigrtmax-Ten -) sigrtmax-9 About) sigrtmax-8 $) sigrtmax-7 -) sigrtmax-6 -) sigrtmax-5 -) sigrtmax-4 A) sigrtmax-3 +) sigrtmax-2 the) sigrtmax-1 -) Sigrtmax [[Email protected]_134~]#
View Code
Kill commonly used is hup (1), Kill (9), Trem (15), respectively, representing the restart, forcibly killed, the normal end.
Killall,pkill can pick up the process name behind it.
The Linux kill,pkill,killall command