File: help.h

package info (click to toggle)
ptop 3.6.2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,356 kB
  • ctags: 2,292
  • sloc: ansic: 18,216; sh: 3,493; makefile: 122; awk: 44
file content (45 lines) | stat: -rw-r--r-- 1,684 bytes parent folder | download | duplicates (3)
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
/* 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\
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 or I  - toggle the displaying of idle processes\n\
k       - kill processes; send a signal to a list of processes\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\
q       - quit\n\
r       - renice a process\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_ */