Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/setpr.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="setpr"> |
2 <refnamediv> | |
3 <refname>SETPR</refname> | |
4 <refpurpose>Set Process Priority</refpurpose> | |
5 </refnamediv> | |
6 | |
7 <refsynopsisdiv> | |
8 <cmdsynopsis> | |
9 <command>SETPR</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 <arg choice="plain"> | |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
138
diff
changeset
|
14 <replaceable>number</replaceable> |
138 | 15 </arg> |
16 </cmdsynopsis> | |
17 </refsynopsisdiv> | |
18 | |
19 <refsect1><title>Description</title> | |
20 <para> | |
21 This command changes the CPU priority of a process. It may only be | |
22 used with a process having the user's ID. The process number is a | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
23 decimal number in the range of 1 (lowest) to 255. The <command>procs</command> |
138 | 24 command can be used to obtain process ID numbers and present priority. |
25 </para> | |
26 <para> | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
27 NOTE: This command does not appear in the <filename class="directory">CMDS</filename> directory as it is |
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
28 built-in to the <command>shell</command>. |
138 | 29 </para> |
30 <para> | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
31 For more information see: 5.1, <command>procs</command> |
138 | 32 </para> |
33 </refsect1> | |
34 <refsect1><title>Examples</title> | |
35 <literallayout> | |
36 setpr 8 250 (change process #8 priority to 250) | |
37 </literallayout> | |
38 | |
39 <screen> | |
40 OS9: procs | |
41 | |
42 User # Id pty state Mem Primary module | |
43 ----- --- --- -------- --- -------------- | |
44 0 3 0 waiting 2 Shell <TERM | |
45 0 2 0 waiting 2 Shell <TERM | |
46 0 1 0 waiting 1 Sysgo <TERM | |
47 | |
48 | |
49 OS9: setpr 3 128 | |
50 OS9: procs | |
51 | |
52 User # Id pty state Mem Primary module | |
53 ----- --- --- -------- --- -------------- | |
54 0 3 128 active 2 Shell <TERM | |
55 0 2 0 waiting 2 Shell <TERM | |
56 0 1 0 waiting 1 Sysgo <TERM | |
57 </screen> | |
58 </refsect1> | |
59 </refentry> | |
60 |