2 .\" (The preceding line is a note to broken versions of man to tell
3 .\" them to pre-process this man page with tbl)
5 .\" Licensed under version 2 of the GNU General Public License.
6 .\" Written by Albert Cahalan; converted to a man page by
9 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
10 .\" Translated Tue Nov 14 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
11 .\" Updated & Modified Sat Jul 9 00:25:31 JST 2005
12 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
14 .TH KILL 1 "November 21, 1999" "Linux" "Linux User's Manual"
16 .\"O kill \- send a signal to a process
18 kill \- ¥×¥í¥»¥¹¤Ë¥·¥°¥Ê¥ë¤òÁ÷¤ë
24 .\"O kill pid ... Send SIGTERM to every process listed.
25 .\"O kill -signal pid ... Send a signal to every process listed.
26 .\"O kill -s signal pid ... Send a signal to every process listed.
27 .\"O kill -l List all signal names.
28 .\"O kill -L List all signal names in a nice table.
29 .\"O kill -l signal Convert a signal number into a name.
30 .\"O kill -V,--version Show version of program
31 kill pid ... ¥ê¥¹¥È¤µ¤ì¤¿Á´¤Æ¤Î¥×¥í¥»¥¹¤Ë SIGTERM ¤òÁ÷¤ë
32 kill -signal pid ... ¥ê¥¹¥È¤µ¤ì¤¿Á´¤Æ¤Î¥×¥í¥»¥¹¤Ë¥·¥°¥Ê¥ë¤òÁ÷¤ë
33 kill -s signal pid ... ¥ê¥¹¥È¤µ¤ì¤¿Á´¤Æ¤Î¥×¥í¥»¥¹¤Ë¥·¥°¥Ê¥ë¤òÁ÷¤ë
34 kill -l Á´¤Æ¤Î¥·¥°¥Ê¥ë¤Î̾Á°¤ò¥ê¥¹¥È¤¹¤ë
36 Á´¤Æ¤Î¥·¥°¥Ê¥ë¤Î̾Á°¤ò¸«±É¤¨¤ÎÎɤ¤É½·Á¼°¤Ç¥ê¥¹¥È¤¹¤ë
38 kill -l signal ¥·¥°¥Ê¥ë¤ÎÈÖ¹æ¤È̾Á°¤òÊÑ´¹¤¹¤ë
39 kill -V,--version ¥×¥í¥°¥é¥à¤Î¥Ñ¡¼¥¸¥ç¥ó¤òɽ¼¨¤¹¤ë
44 .\"O The default signal for kill is TERM. Use -l or -L to list available signals.
45 .\"O Particularly useful signals include HUP, INT, KILL, STOP, CONT, and 0.
46 .\"O Alternate signals may be specified in three ways: -9 -SIGKILL -KILL.
47 kill ¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥·¥°¥Ê¥ë¤Ï TERM ¤Ç¤¢¤ë¡£
48 -l ¤ä -L ¤òÍѤ¤¤ë¤È¡¢»ØÄê¤Ç¤¤ë¥·¥°¥Ê¥ë¤ò¥ê¥¹¥È¤Ç¤¤ë¡£
49 ÆäËÊØÍø¤Ê¥·¥°¥Ê¥ë¤Ë¤Ï HUP, INT, KILL, STOP, CONT, 0 ¤Ê¤É¤¬¤¢¤ë¡£
50 ¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥·¥°¥Ê¥ë¤Î»ØÄêÊýË¡¤Ï 3 ¤Ä¤¢¤ë¡£ -9 -SIGKILL -KILL¡£
51 .\"O Negative PID values may be used to choose whole process groups; see the
52 .\"O PGID column in ps command output. A PID of -1 is special; it indicates
53 .\"O all processes except the kill process itself and init.
54 Éé¤Î PID ¤ÎÃÍ¤Ï¥×¥í¥»¥¹¥°¥ë¡¼¥×Á´ÂΤòÁªÂò¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¡£
55 ps ¥³¥Þ¥ó¥É¤Î½ÐÎϤΠPGID ¥«¥é¥à¤ò»²¾È¤¹¤ë¤³¤È¡£
56 \-1 ¤È¤¤¤¦ PID ¤ÏÆÃÊ̤Ǥ¢¤ë¡£
57 ¤³¤ì¤Ï kill ¥×¥í¥»¥¹¼«¿È¤È init °Ê³°¤ÎÁ´¤Æ¤Î¥×¥í¥»¥¹¤òɽ¤¹¡£
61 .\"O The signals listed below may be available for use with kill.
62 .\"O When known constant, numbers and default behavior are shown.
63 °Ê²¼¤Ë kill ¤Ç»È¤¨¤ë¥·¥°¥Ê¥ë¤Î¥ê¥¹¥È¤ò¼¨¤¹¡£
64 ¤ï¤«¤ë¤â¤Î¤Ë¤Ä¤¤¤Æ¤Ï¡¢Äê¿ô¡¦ÈÖ¹æ¤È¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤â¼¨¤¹¡£
69 .\"O Name Num Action Description
70 ̾Á° ÈÖ¹æ ¥¢¥¯¥·¥ç¥ó ÀâÌÀ
72 .\"O 0 0 n/a exit code indicates if a signal may be sent
73 0 0 n/a ¥·¥°¥Ê¥ë¤òÁ÷¤Ã¤¿¾ì¹ç¤Î½ªÎ»¥³¡¼¥É¤ò¼èÆÀ¤¹¤ë
77 .\"O KILL 9 exit this signal may not be blocked
78 KILL 9 exit ¤³¤Î¥·¥°¥Ê¥ë¤Ï¥Ö¥í¥Ã¥¯¤µ¤ì¤Ê¤¤
86 .\"O STKFLT exit may not be implemented
87 .\"O PWR ignore may exit on some systems
88 STKFLT exit ¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤
90 ¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï½ªÎ» (exit) ¤¹¤ë¤«¤â¤·¤ì¤Ê¤¤
95 .\"O TSTP stop may interact with the shell
96 .\"O TTIN stop may interact with the shell
97 .\"O TTOU stop may interact with the shell
98 .\"O STOP stop this signal may not be blocked
99 .\"O CONT restart continue if stopped, otherwise ignore
100 TSTP stop ¥·¥§¥ë¤ÈÁê¸ßºîÍѤ¹¤ë¤«¤â¤·¤ì¤Ê¤¤
101 TTIN stop ¥·¥§¥ë¤ÈÁê¸ßºîÍѤ¹¤ë¤«¤â¤·¤ì¤Ê¤¤
102 TTOU stop ¥·¥§¥ë¤ÈÁê¸ßºîÍѤ¹¤ë¤«¤â¤·¤ì¤Ê¤¤
103 STOP stop ¤³¤Î¥·¥°¥Ê¥ë¤Ï¥Ö¥í¥Ã¥¯¤µ¤ì¤Ê¤¤
104 CONT restart Ää»ß (stop) ¾õÂ֤ʤéºÆ³«¡¢¤½¤Î¾¤Ê¤é̵»ë
111 .\"O SYS core may not be implemented
112 .\"O EMT core may not be implemented
113 .\"O BUS core core dump may fail
114 .\"O XCPU core core dump may fail
115 .\"O XFSZ core core dump may fail
116 SYS core ¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤
117 EMT core ¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤
118 BUS core ¥³¥¢¥À¥ó¥×¤Ï¼ºÇÔ¤¹¤ë¤«¤â¤·¤ì¤Ê¤¤
119 XCPU core ¥³¥¢¥À¥ó¥×¤Ï¼ºÇÔ¤¹¤ë¤«¤â¤·¤ì¤Ê¤¤
120 XFSZ core ¥³¥¢¥À¥ó¥×¤Ï¼ºÇÔ¤¹¤ë¤«¤â¤·¤ì¤Ê¤¤
125 .\"O Your shell (command line interpreter) may have a built-in kill command.
126 .\"O You may need to run the command described here as /bin/kill to solve
128 ¤¢¤Ê¤¿¤Î»È¤Ã¤Æ¤¤¤ë¥·¥§¥ë (¥³¥Þ¥ó¥É¥é¥¤¥ó¥¤¥ó¥¿¡¼¥×¥ê¥¿¡¼)
129 ¤Ë¤ÏÁȤ߹þ¤ß¤Î kill ¥³¥Þ¥ó¥É¤¬¤¢¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
130 ¤³¤Î¾ì¹ç¡¢¤³¤³¤ÇÀâÌÀ¤·¤¿ kill ¤ò¼Â¹Ô¤¹¤ë¤Ë¤Ï¡¢
131 /bin/kill ¤Î¤è¤¦¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
139 .\"O Kill all processes you can kill.
140 kill ²Äǽ¤ÊÁ´¤Æ¤Î¥×¥í¥»¥¹¤ò kill ¤¹¤ë¡£
146 .\"O Translate number 11 into a signal name.
147 ¿ôÃÍ 11 ¤ò¥·¥°¥Ê¥ë̾¤ËÊÑ´¹¤¹¤ë¡£
153 .\"O List the available signal choices in a nice table.
154 »ÈÍѲÄǽ¤Ê¥·¥°¥Ê¥ë¤ò¸«±É¤¨¤ÎÎɤ¤É½·Á¼°¤Ç¥ê¥¹¥È¤¹¤ë¡£
158 .B "kill 123 543 2341 3453"
160 .\"O Send the default signal, SIGTERM, to all those processes.
161 ¥Ç¥Õ¥©¥ë¥È¤Î¥·¥°¥Ê¥ë SIGTERM ¤ò¤³¤ì¤éÁ´¤Æ¤Î¥×¥í¥»¥¹¤ËÁ÷¤ë¡£
166 .\"O pkill(1) skill(1) kill(2) renice(1) nice(1) signal(7) killall(1)
177 .\"O This command meets appropriate standards. The -L flag is Linux-specific.
178 ¤³¤Î¥³¥Þ¥ó¥É¤ÏŬÀÚ¤Êɸ½à¤Ë½àµò¤·¤Æ¤¤¤ë¡£
179 -L ¥Õ¥é¥°¤Ï Linux ¸ÇͤΤâ¤Î¤Ç¤¢¤ë¡£
183 .\"O Albert Cahalan <albert@users.sf.net> wrote kill in 1999 to replace a
184 .\"O bsdutils one that was not standards compliant. The util-linux one might
185 .\"O also work correctly.
186 Albert Cahalan <acahalan@cs.uml.edu> ¤¬ 1999 ǯ¤Ë
187 ɸ½à¤Ë¹çÃפ·¤Æ¤¤¤Ê¤¤ bsdutils ¤Î¤â¤Î¤òÃÖ¤´¹¤¨¤ë¤¿¤á¤Ë kill ¤ò½ñ¤¤¤¿¡£
188 util-linux ¤Î kill ¤âÀµ¤·¤¯Æ°ºî¤¹¤ë¤À¤í¤¦¡£
190 .\"O Please send bug reports to <procps-feedback@lists.sf.net>
191 ¥Ð¥°Êó¹ð¤Ï <procps-feedback@lists.sf.net> ¤Þ¤ÇÁ÷¤Ã¤ÆÍߤ·¤¤¡£