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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
138
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
1 <refentry id="setpr">
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
2 <refnamediv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
3 <refname>SETPR</refname>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
4 <refpurpose>Set Process Priority</refpurpose>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
5 </refnamediv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
6
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
7 <refsynopsisdiv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
8 <cmdsynopsis>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
9 <command>SETPR</command>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
10 <arg choice="plain">
975
c565a4700689 The entitity replstart was replaced with <replaceable>
roug
parents: 138
diff changeset
11 <replaceable>procID</replaceable>
138
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
12 </arg>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
13 <arg choice="plain">
975
c565a4700689 The entitity replstart was replaced with <replaceable>
roug
parents: 138
diff changeset
14 <replaceable>number</replaceable>
138
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
15 </arg>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
16 </cmdsynopsis>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
17 </refsynopsisdiv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
18
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
19 <refsect1><title>Description</title>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
20 <para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
21 This command changes the CPU priority of a process. It may only be
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
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
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
24 command can be used to obtain process ID numbers and present priority.
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
25 </para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
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
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
29 </para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
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
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
32 </para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
33 </refsect1>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
34 <refsect1><title>Examples</title>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
35 <literallayout>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
36 setpr 8 250 (change process #8 priority to 250)
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
37 </literallayout>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
38
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
39 <screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
40 OS9: procs
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
41
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
42 User # Id pty state Mem Primary module
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
43 ----- --- --- -------- --- --------------
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
44 0 3 0 waiting 2 Shell &lt;TERM
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
45 0 2 0 waiting 2 Shell &lt;TERM
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
46 0 1 0 waiting 1 Sysgo &lt;TERM
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
47
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
48
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
49 OS9: setpr 3 128
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
50 OS9: procs
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
51
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
52 User # Id pty state Mem Primary module
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
53 ----- --- --- -------- --- --------------
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
54 0 3 128 active 2 Shell &lt;TERM
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
55 0 2 0 waiting 2 Shell &lt;TERM
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
56 0 1 0 waiting 1 Sysgo &lt;TERM
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
57 </screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
58 </refsect1>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
59 </refentry>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
60