⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kill.1

📁 linux下获取一些环境信息的代码
💻 1
字号:
'\" t.\" (The preceding line is a note to broken versions of man to tell.\" them to pre-process this man page with tbl).\" Man page for kill..\" Licensed under version 2 of the GNU General Public License..\" Written by Albert Cahalan; converted to a man page by.\" Michael K. Johnson.TH KILL 1 "November 21, 1999" "Linux" "Linux User's Manual".SH NAMEkill \- send a signal to a process.SH SYNOPSIS.TSl l.kill pid ...	Send SIGTERM to every process listed.kill -signal pid ...	Send a signal to every process listed.kill -s signal pid ...	Send a signal to every process listed.kill -l	List all signal names.kill -L	List all signal names in a nice table.kill -l signal	Convert a signal number into a name.kill -V,--version	Show version of program.TE.SH DESCRIPTIONThe default signal for kill is TERM. Use -l or -L to list available signals.Particularly useful signals include HUP, INT, KILL, STOP, CONT, and 0.Alternate signals may be specified in three ways: -9 -SIGKILL -KILL.Negative PID values may be used to choose whole process groups; see thePGID column in ps command output. A PID of -1 is special; it indicatesall processes except the kill process itself and init..SH SIGNALSThe signals listed below may be available for use with kill.When known constant, numbers and default behavior are shown..TSlB rB lB lBlfCW r l l.Name	Num	Action	Description.TH0	0	n/a	exit code indicates if a signal may be sentALRM	14	exitHUP	1	exitINT	2	exitKILL	9	exit	this signal may not be blockedPIPE	13	exitPOLL		exitPROF		exitTERM	15	exitUSR1		exitUSR2		exitVTALRM		exitSTKFLT		exit	may not be implementedPWR		ignore	may exit on some systemsWINCH		ignoreCHLD		ignoreURG		ignoreTSTP		stop	may interact with the shellTTIN		stop	may interact with the shellTTOU		stop	may interact with the shellSTOP		stop	this signal may not be blockedCONT		restart	continue if stopped, otherwise ignoreABRT	6	coreFPE	8	coreILL	4	coreQUIT	3	coreSEGV	11	coreTRAP	5	coreSYS		core	may not be implementedEMT		core	may not be implementedBUS		core	core dump may failXCPU		core	core dump may failXFSZ		core	core dump may fail.TE.SH NOTESYour shell (command line interpreter) may have a built-in kill command.You may need to run the command described here as /bin/kill to solvethe conflict..SH EXAMPLES.SS.B "kill -9 -1".nfKill all processes you can kill..fi.PP.SS.B "kill -l 11".nfTranslate number 11 into a signal name..fi.PP.SS.B "kill -L".nfList the available signal choices in a nice table..fi.PP.SS.B "kill 123 543 2341 3453".nfSend the default signal, SIGTERM, to all those processes..fi.PP.SH "SEE ALSO"pkill(1) skill(1) kill(2) renice(1) nice(1) signal(7) killall(1).SH STANDARDSThis command meets appropriate standards. The -L flag is Linux-specific..SH AUTHORAlbert Cahalan <albert@users.sf.net> wrote kill in 1999 to replace absdutils one that was not standards compliant. The util-linux one mightalso work correctly.Please send bug reports to <procps-feedback@lists.sf.net>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -