2
## 20_top_manpage by Randy Hron
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Fix bold in top manual page
6
## DP: Fix page fault description because storage may not be disk
8
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
9
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
12
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
16
-patch) patch $patch_opts -p1 < $0;;
17
-unpatch) patch $patch_opts -p1 -R < $0;;
19
echo >&2 "`basename $0`: script expects -patch|-unpatch as argum
26
--- procps/top.1.orig Wed Mar 31 13:17:51 2004
27
+++ procps/top.1 Wed Mar 31 13:19:10 2004
29
.ds CF configuration file
30
.ds CI interactive command
31
.ds CO command\-line option
32
-.ds CW \'current' window
33
+.ds CW 'current' window
34
.ds FM full\-screen mode
35
.ds MP \fBphysical\fR memory
36
.ds MS \fBshared\fR memory
38
The task's share of the elapsed \*(PU time since the last screen update, expressed
39
as a percentage of total \*(PU time.
40
In a true SMP environment, if 'Irix mode' is \*F, \*(Me will operate in
41
-\'Solaris mode' where a task's \*(Pu usage will be divided by the total
42
+'Solaris mode' where a task's \*(Pu usage will be divided by the total
44
You toggle 'Irix/Solaris' modes with the 'I' \*(CI.
47
The number of\fB major\fR page faults that have occurred for a task.
48
A page fault occurs when a process attempts to read from or write to a virtual
49
page that is not currently present in its address space.
50
-A major page fault is when disk access is involved in making that
52
+A major page fault is when backing storage access (such as a disk) is involved
53
+in making that page available.
56
v:\fB nDRT\fR \*(EM Dirty Pages count
58
.\" ......................................................................
59
.SS 2b. SELECTING and ORDERING Columns
60
.\" ----------------------------------------------------------------------
61
-After pressing the \*(CIs 'f' (Fields select) or \'o' (Order fields) you will
62
+After pressing the \*(CIs 'f' (Fields select) or 'o' (Order fields) you will
63
be shown a screen containing the current \fBfields string\fR followed by names
64
and descriptions for all fields.
70
-\ \ \'\fB?\fR\' or \'\fBh\fR\' :\fIHelp\fR
71
+\ \ \<\fB?\fR\> or \<\fBh\fR\> :\fIHelp\fR
72
There are two help levels available.
73
The first will provide a reminder of all the basic \*(CIs.
74
If \*(Me is\fI secured\fR, that screen will be abbreviated.
79
-\ \ \'\fB=\fR\' :\fIExit_Task_Limits\fR
80
+\ \ \<\fB=\fR\> :\fIExit_Task_Limits\fR
81
Removes restrictions on which tasks are shown.
82
This command will reverse any 'i' (idle tasks) and 'n' (max tasks) commands
85
When operating in \*(AM this command has a slightly broader meaning.
88
-\ \ \'\fBA\fR\' :\fIAlternate_Display_Mode_toggle\fR
89
+\ \ \<\fBA\fR\> :\fIAlternate_Display_Mode_toggle\fR
90
This command will switch between \*(FM and \*(AM.
91
-\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight into
92
-\*(CWs and field groups.
93
+\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight
94
+into \*(CWs and field groups.
97
-\ \ \'\fBB\fR\' :\fIBold_Disable/Enable_toggle\fR
98
+\ \ \<\fBB\fR\> :\fIBold_Disable/Enable_toggle\fR
99
This command will influence use of the 'bold' terminfo capability and
100
alters\fB both\fR the \*(SA and \*(TA for the \*(CW.
101
While it is intended primarily for use with dumb terminals, it can be
103
there will be no visual confirmation that they are even on.
106
-*\ \'\fBd\fR\' or \'\fBs\fR\' :\fIChange_Delay_Time_interval\fR
107
+*\ \<\fBd\fR\> or \<\fBs\fR\> :\fIChange_Delay_Time_interval\fR
108
You will be prompted to enter the delay time, in seconds, between
111
@@ -625,32 +625,32 @@
112
and view the system summary on the second line.
115
-\ \ \'\fBG\fR\' :\fIChoose_Another_Window/Field_Group\fR
116
+\ \ \<\fBG\fR\> :\fIChoose_Another_Window/Field_Group\fR
117
You will be prompted to enter a number between 1 and 4 designating the
118
window/field group which should be made the \*(CW.
119
You will soon grow comfortable with these 4 windows, especially after
120
experimenting with \*(AM.
123
-\ \ \'\fBI\fR\' :\fIIrix/Solaris_Mode_toggle\fR
124
+\ \ \<\fBI\fR\> :\fIIrix/Solaris_Mode_toggle\fR
125
When operating in 'Solaris mode' ('I' toggled \*F), a task's \*(Pu usage
126
will be divided by the total number of \*(PUs.
127
After issuing this command, you'll be informed of the new state of this toggle.
130
-\ \ \'\fBu\fR\' :\fIselect a user\fR
131
+\ \ \<\fBu\fR\> :\fIselect a user\fR
132
You will be prompted for a UID or username. Only processes
133
belonging to the selected user will be displayed. This option
134
matches on the effective UID.
137
-\ \ \'\fBU\fR\' :\fIselect a user\fR
138
+\ \ \<\fBU\fR\> :\fIselect a user\fR
139
You will be prompted for a UID or username. Only processes
140
belonging to the selected user will be displayed. This option
141
matches on the real, effective, saved, and filesystem UID.
144
-*\ \'\fBk\fR\' :\fIKill_a_task\fR
145
+*\ \<\fBk\fR\> :\fIKill_a_task\fR
146
You will be prompted for a PID and then the signal to send.
147
The default signal, as reflected in the prompt, is SIGTERM.
148
However, you can send any signal, via number or name.
149
@@ -661,24 +661,24 @@
150
2) at the signal prompt, type 0
153
-\ \ \'\fBq\fR\' :\fIQuit\fR
154
+\ \ \<\fBq\fR\> :\fIQuit\fR
157
-*\ \'\fBr\fR\' :\fIRenice_a_Task\fR
158
+*\ \<\fBr\fR\> :\fIRenice_a_Task\fR
159
You will be prompted for a PID and then the value to nice it to.
160
Entering a positive value will cause a process to lose priority.
161
Conversely, a negative value will cause a process to be viewed more
162
favorably by the kernel.
165
-\ \ \'\fBW\fR\' :\fIWrite_the_Configuration_File\fR
166
+\ \ \<\fBW\fR\> :\fIWrite_the_Configuration_File\fR
167
This will save all of your options and toggles plus the current
168
display mode and delay time.
169
By issuing this command just before quitting \*(Me, you will be able restart
170
later in exactly that same state.
173
-\ \ \'\fBZ\fR\' :\fIChange_Color_Mapping
174
+\ \ \<\fBZ\fR\> :\fIChange_Color_Mapping
175
This key will take you to a separate screen where you can change the
176
colors for the \*(CW, or for all windows.
177
For details regarding this \*(CI \*(Xt 3d. COLOR Mapping.
178
@@ -694,25 +694,25 @@
179
of messages and prompts.
181
These commands always impact just the \*(CW/field group.
182
-\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight into
183
-\*(CWs and field groups.
184
+\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight
185
+into \*(CWs and field groups.
188
-\ \ \'\fBl\fR\' :\fIToggle_Load_Average/Uptime\fR \*(EM On/Off
189
+\ \ \<\fBl\fR\> :\fIToggle_Load_Average/Uptime\fR \*(EM On/Off
190
This is also the line containing the program name (possibly an alias) when
191
operating in \*(FM or the \*(CW name when operating in \*(AM.
194
-\ \ \'\fBm\fR\' :\fIToggle_Memory/Swap_Usage\fR \*(EM On/Off
195
+\ \ \<\fBm\fR\> :\fIToggle_Memory/Swap_Usage\fR \*(EM On/Off
196
This command affects two \*(SA lines.
199
-\ \ \'\fBt\fR\' :\fIToggle_Task/Cpu_States\fR \*(EM On/Off
200
+\ \ \<\fBt\fR\> :\fIToggle_Task/Cpu_States\fR \*(EM On/Off
201
This command affects from 2 to many \*(SA lines, depending on the state
202
of the '1' toggle and whether or not \*(Me is running under true SMP.
205
-\ \ \'\fB1\fR\' :\fIToggle_Single/Separate_Cpu_States\fR \*(EM On/Off
206
+\ \ \<\fB1\fR\> :\fIToggle_Single/Separate_Cpu_States\fR \*(EM On/Off
207
This command affects how the 't' command's Cpu States portion is shown.
208
Although this toggle exists primarily to serve massively-parallel SMP machines,
209
it is not restricted to solely SMP environments.
210
@@ -744,12 +744,12 @@
214
-\ \ \'\fBb\fR\' :\fIBold/Reverse_toggle\fR
215
+\ \ \<\fBb\fR\> :\fIBold/Reverse_toggle\fR
216
This command will impact how the 'x' and 'y' toggles are displayed.
217
Further, it will only be available when at least one of those toggles is \*O.
220
-\ \ \'\fBx\fR\' :\fIColumn_Highlight_toggle\fR
221
+\ \ \<\fBx\fR\> :\fIColumn_Highlight_toggle\fR
222
Changes highlighting for the current sort field.
223
You probably don't need a constant visual reminder of the sort field and
224
\*(Me hopes that you always run with 'column highlight' \*F, due to the cost
229
-\ \ \'\fBy\fR\' :\fIRow_Highlight_toggle\fR
230
+\ \ \<\fBy\fR\> :\fIRow_Highlight_toggle\fR
231
Changes highlighting for "running" tasks.
232
For additional insight into this task state, \*(Xt 2a. DESCRIPTIONS of Fields,
235
The only costs will be a few additional tty escape sequences.
238
-\ \ \'\fBz\fR\' :\fIColor/Monochrome_toggle\fR
239
+\ \ \<\fBz\fR\> :\fIColor/Monochrome_toggle\fR
240
Switches the \*(CW between your last used color scheme and the older form
241
of black-on-white or white-on-black.
242
This command will alter\fB both\fR the \*(SA and \*(TA but does not affect the
243
@@ -779,20 +779,20 @@
244
.B CONTENT\fR of \*(TW
247
-\ \ \'\fBc\fR\' :\fICommand_Line/Program_Name_toggle\fR
248
+\ \ \<\fBc\fR\> :\fICommand_Line/Program_Name_toggle\fR
249
This command will be honored whether or not the 'Command' column
250
is currently visible.
251
Later, should that field come into view, the change you applied will be seen.
254
-\ \ \'\fBf\fR\' and \'\fBo\fR\' :\fIFields_select\fR or \fIOrder_fields\fR
255
+\ \ \<\fBf\fR\> and \<\fBo\fR\> :\fIFields_select\fR or \fIOrder_fields\fR
256
These keys display separate screens where you can change which
257
fields are displayed and their order.
258
For additional information on these \*(CIs
259
\*(Xt 2b. SELECTING and ORDERING Columns.
262
-\ \ \'\fBS\fR\' :\fICumulative_Time_Mode_toggle\fR
263
+\ \ \<\fBS\fR\> :\fICumulative_Time_Mode_toggle\fR
264
When 'Cumulative mode' is \*O, each process is listed with the \*(Pu
265
time that it and its dead children have used.
268
effect, simply ask for help and view the window summary on the second line.
271
-\ \ \'\fBu\fR\' :\fIShow_Specific_User_Only\fR
272
+\ \ \<\fBu\fR\> :\fIShow_Specific_User_Only\fR
273
You will be prompted to enter the name of the user to display.
274
Thereafter, in that \*(TW only matching User ID's will be shown, or possibly
275
no tasks will be shown.
280
-\ \ \'\fBi\fR\' :\fIIdle_Processes_toggle\fR
281
+\ \ \<\fBi\fR\> :\fIIdle_Processes_toggle\fR
282
Displays all tasks or just active tasks.
283
When this toggle is \*F, idled or zombied processes will not be displayed.
286
affect the window's size, as all prior \*(TDs will have already been painted.
289
-\ \ \'\fBn\fR\' or \'#\' :\fISet_Maximum_Tasks\fR
290
+\ \ \<\fBn\fR\> or \<\fB#\fR\> :\fISet_Maximum_Tasks\fR
291
You will be prompted to enter the number of tasks to display.
292
The lessor of your number and available screen rows will be used.
294
@@ -868,12 +868,12 @@
298
-\ \ \'\fB<\fR\' :\fIMove_Sort_Field_Left\fR
299
+\ \ \<\fB<\fR\> :\fIMove_Sort_Field_Left\fR
300
Moves the sort column to the left unless the current sort field is
301
the first field being displayed.
304
-\ \ \'\fB>\fR\' :\fIMove_Sort_Field_Right\fR
305
+\ \ \<\fB>\fR\> :\fIMove_Sort_Field_Right\fR
306
Moves the sort column to the right unless the current sort field is
307
the last field being displayed.
313
-\ \ \'\fBF\fR\' or \'\fBO\fR\' :\fISelect_Sort_Field\fR
314
+\ \ \<\fBF\fR\> or \<\fBO\fR\> :\fISelect_Sort_Field\fR
315
These keys display a separate screen where you can change which field
316
is used as the sort column.
319
when running \*(Me with column highlighting turned \*F.
322
-\ \ \'\fBR\fR\' :\fIReverse/Normal_Sort_Field_toggle\fR
323
+\ \ \<\fBR\fR\> :\fIReverse/Normal_Sort_Field_toggle\fR
324
Using this \*(CI you can alternate between high-to-low and low-to-high sorts.
328
.\" ......................................................................
329
.SS 4b. COMMANDS for Windows
331
-\ \ \'\fB-\fR\' and \'\fB_\fR\' :\fIShow/Hide_Window(s)_toggles\fR
332
+\ \ \<\fB-\fR\> and \<\fB_\fR\> :\fIShow/Hide_Window(s)_toggles\fR
333
The '-' key turns the \*(CW's \*(TD \*O and \*F.
334
When \*O, that \*(TA will show a minimum of the columns header you've
335
established with the 'f' and 'o' commands.
337
as the only display element.
340
-*\ \'\fB=\fR\' and \'\fB+\fR\' :\fIEqualize_(re-balance)_Window(s)\fR
341
+*\ \<\fB=\fR\> and \<\fB+\fR\> :\fIEqualize_(re-balance)_Window(s)\fR
342
The '=' key forces the \*(CW's \*(TD to be visible.
343
It also reverses any 'i' (idle tasks) and 'n' (max tasks) commands that might
346
except for the 'i' (idle tasks) and 'n' (max tasks) commands.
349
-*\ \'\fBA\fR\' :\fIAlternate_Display_Mode_toggle\fR
350
+*\ \<\fBA\fR\> :\fIAlternate_Display_Mode_toggle\fR
351
This command will switch between \*(FM and \*(AM.
353
The first time you issue this command, all four \*(TDs will be shown.
354
@@ -1007,7 +1007,7 @@
355
chosen to make visible.
358
-*\ \'\fBa\fR\' and \'\fBw\fR\' :\fINext_Window_Forward/Backward\fR
359
+*\ \<\fBa\fR\> and \<\fBw\fR\> :\fINext_Window_Forward/Backward\fR
360
This will change the \*(CW, which in turn changes the window to which
361
commands are directed.
362
These keys act in a circular fashion so you can reach any desired \*(CW
363
@@ -1018,7 +1018,7 @@
364
the \*(TD is \*F and many commands will be restricted.
367
-*\ \'\fBG\fR\' :\fIChoose_Another_Window/Field_Group\fR
368
+*\ \<\fBG\fR\> :\fIChoose_Another_Window/Field_Group\fR
369
You will be prompted to enter a number between 1 and 4 designating the
370
window/field group which should be made the \*(CW.
372
@@ -1027,15 +1027,15 @@
376
-\ \ \'\fBg\fR\' :\fIChange_Window/Field_Group_Name\fR
377
+\ \ \<\fBg\fR\> :\fIChange_Window/Field_Group_Name\fR
378
You will be prompted for a new name to be applied to the \*(CW.
379
It does not require that the window name be visible
380
(the 'l' toggle to be \*O).
383
The \*(CIs shown with an \*(AS have use beyond \*(AM.
384
- \'=', 'A', 'G' are always available
385
- \'a', 'w' act the same when color mapping
386
+ '=', 'A', 'G' are always available
387
+ 'a', 'w' act the same when color mapping
390
.\" ----------------------------------------------------------------------