Mercurial > hg > Members > kono > nitros9-code
comparison docs/nitros9guide/setpr.refentry @ 138:d9631713b7cd
Split up the commands into individual files.
author | roug |
---|---|
date | Sun, 07 Jul 2002 08:58:56 +0000 |
parents | |
children | c565a4700689 |
comparison
equal
deleted
inserted
replaced
137:a6eb496dbc1e | 138:d9631713b7cd |
---|---|
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"> | |
11 &replstart;procID&replend; | |
12 </arg> | |
13 <arg choice="plain"> | |
14 &replstart;number&replend; | |
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 | |
23 decimal number in the range of 1 (lowest) to 255. The "procs" | |
24 command can be used to obtain process ID numbers and present priority. | |
25 </para> | |
26 <para> | |
27 NOTE: This command does not appear in the CMDS directory as it is | |
28 built-in to the SHELL. | |
29 </para> | |
30 <para> | |
31 For more information see: 5.1, PROCS | |
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 |