Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/kill.refentry @ 1053:b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
capitalization and quotes (") to show what was commands, files and just
text. With today's formatting, this is not necessary, so everywhere
capitalization was used to show a command the <command> element is now
used instead, and everywhere a file is mentioned the <filename> element is used.
author | roug |
---|---|
date | Thu, 20 Mar 2003 20:19:53 +0000 |
parents | c565a4700689 |
children | 4dae346c4969 |
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> | |
9 <command>KILL</command> | |
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 | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
34 For more information see: 4.5, 5.2, <command>procs</command> |
138 | 35 |
36 </para> | |
37 </refsect1> | |
38 <refsect1><title>Examples</title> | |
39 <screen> | |
40 | |
41 kill 5 | |
42 | |
43 kill 22 | |
44 | |
45 OS9: procs | |
46 | |
47 User # Id pty state Mem Primary module | |
48 ----- --- --- -------- --- -------------- | |
49 20 2 0 active 2 Shell <TERM | |
50 20 1 0 waiting 1 Sysgo <TERM | |
51 20 3 0 sleeping 20 Copy <TERM | |
52 | |
53 OS9: kill 3 | |
54 OS9: procs | |
55 | |
56 User # Id pty state Mem Primary module | |
57 ----- --- --- -------- --- -------------- | |
58 20 2 0 active 2 Shell <TERM | |
59 20 1 0 waiting 1 Sysgo <TERM | |
60 | |
61 OS9: | |
62 </screen> | |
63 </refsect1> | |
64 </refentry> | |
65 |