blob: f3942259b9972cce6efaf8ee678ae6eaf9382481 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/* Simple help text displayed by "show_help" */
#ifndef _HELP_H_
#define _HELP_H_
char *help_text = "\n\
A top users display for Unix\n\
\n\
These single-character commands are available:\n\
\n\
^L - redraw screen\n\
<sp> - update screen\n\
A - EXPLAIN ANALYZE (UPDATE/DELETE safe)\n\
C - toggle the use of color\n\
E - show execution plan (UPDATE/DELETE safe)\n\
I - show I/O statistics per process\n\
L - show locks held by a process\n\
M - sort by memory usage\n\
N - sort by pid\n\
P - sort by CPU usage\n\
R - show user table statistics\n\
Q - show current query of a process\n\
T - sort by time\n\
X - show user index statistics\n\
c - toggle the display of process commands\n\
d - change number of displays to show\n\
e - list errors generated by last \"kill\" or \"renice\" command\n\
h or ? - help; show this text\n\
i - toggle the displaying of idle processes\n\
k - kill processes; send a signal to a list of processes\n\
not avilable when connected to a remote database\n\
n or # - change number of processes to display\n\
o - specify sort order (%s)\n\
index stats (idx_scan, idx_tup_fetch, idx_tup_read)\n\
table stats (seq_scan, seq_tup_read, idx_scan, idx_tup_fetch,\n\
n_tup_ins, n_tup_upd, n_tup_del)\n\
i/o stats (%s)\n\
q - quit\n\
r - renice a process\n\
not avilable when connected to a remote database\n\
s - change number of seconds to delay between updates\n\
t - Toggle between cumulative or differential statistics when viewing\n\
user table or user index statistics.\n\
u - display processes for only one user (+ selects all users)\n\
\n\
Not all commands are available on all systems.\n\
";
#endif /* _HELP_H_ */
|