Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/kill.refentry @ 2112:cfb3a637a000
Fixed lack of H6309 flag
author | boisy |
---|---|
date | Tue, 21 Aug 2007 17:05:14 +0000 |
parents | 4dae346c4969 |
children |
rev | line source |
---|---|
138 | 1 <refentry id="kill"> |
2 <refnamediv> | |
3 <refname>KILL</refname> | |
4 <refpurpose>Abort a process</refpurpose> | |
5 </refnamediv> | |
6 | |
7 <refsynopsisdiv> | |
8 <cmdsynopsis> | |
1093 | 9 <command>kill</command> |
138 | 10 <arg choice="plain"> |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
138
diff
changeset
|
11 <replaceable>procID</replaceable> |
138 | 12 </arg> |
13 </cmdsynopsis> | |
14 </refsynopsisdiv> | |
15 | |
16 <refsect1><title>Description</title> | |
17 <para> | |
18 This shell "built in" command sends an "abort" signal to the | |
19 process having the process ID number specified. The process to be | |
20 aborted must have the same user ID as the user that executed the | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
21 command. The <command>procs</command> command can be used to obtain the process ID |
138 | 22 numbers. |
23 </para> | |
24 <para> | |
25 NOTE: If a process is waiting for I/O, it may not die until it | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
26 completes the current I/O operation, therefore, if you <command>kill</command> a |
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
27 process and the <command>procs</command> command shows it still exists, it is probably |
138 | 28 waiting for receive a line of data from a terminal before it can |
29 die. | |
30 | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
31 Since this is a built-in <command>shell</command> command, it does not appear in the |
138 | 32 CMDS directory. |
33 | |
1093 | 34 For more information see: <xref linkend="sec4.5"/>, |
35 <xref linkend="sec5.2"/>, <command>procs</command> | |
138 | 36 |
37 </para> | |
38 </refsect1> | |
39 <refsect1><title>Examples</title> | |
40 <screen> | |
41 | |
42 kill 5 | |
43 | |
44 kill 22 | |
45 | |
46 OS9: procs | |
47 | |
48 User # Id pty state Mem Primary module | |
49 ----- --- --- -------- --- -------------- | |
50 20 2 0 active 2 Shell <TERM | |
51 20 1 0 waiting 1 Sysgo <TERM | |
52 20 3 0 sleeping 20 Copy <TERM | |
53 | |
54 OS9: kill 3 | |
55 OS9: procs | |
56 | |
57 User # Id pty state Mem Primary module | |
58 ----- --- --- -------- --- -------------- | |
59 20 2 0 active 2 Shell <TERM | |
60 20 1 0 waiting 1 Sysgo <TERM | |
61 | |
62 OS9: | |
63 </screen> | |
64 </refsect1> | |
65 </refentry> | |
66 |