1htop(1) Utils htop(1)
2
3
4
6 htop - interactive process viewer
7
9 htop
10
12 This program is a free (GPL) ncurses-based process viewer.
13
14 It is similar to top, but allows to scroll the list vertically and hor‐
15 izontally to see all processes and their full command lines.
16
17 Tasks related to processes (killing, renicing) can be done without
18 entering their PIDs.
19
21 The following commands are supported:
22
23 Arrows, PgUP, PgDn, Home, End
24 Scroll process list.
25
26 Space
27 "Tag": mark a process. Commands that can operate on multiple pro‐
28 cesses, like "kill", will then apply over the list of tagged pro‐
29 cesses, instead of the currently highlighted one.
30
31 U "Untag" all processes (remove all tags added with the Space key).
32
33 s Trace process system calls: if strace(1) is installed, pressing
34 this key will attach it to the currently selected process, pre‐
35 senting a live update of system calls issued by the process.
36
37 F1, h
38 Help screen
39
40 F2, S
41 Setup screen. There you can configure meters displayed on the top
42 side of the screen, as well as set various display options, choose
43 among color schemes and select the layout of the displayed col‐
44 umns.
45
46 F3, /
47 Incremental process search: type in part of a process command line
48 and the selection highlight will be moved to it. While in search
49 mode, pressing this key will cycle through matching occurrences.
50
51 F4, I
52 Invert sort order: if sort order is increasing, switch to decreas‐
53 ing, and vice-versa.
54
55 F5, t
56 Tree view: organize processes by parenthood, and layout the rela‐
57 tions between them as a tree. Toggling the key will switch between
58 tree and your previously selected sort view. Selecting a sort view
59 will exit tree view.
60
61 F6, >
62 Select field for sorting. The sort field is indicated by a high‐
63 light in the header.
64
65 F7, ], -
66 Increase selected process priority (subtract from 'nice' value).
67 This can be done by the superuser only.
68
69 F8, [, +
70 Decrease selected process priority (add to 'nice' value)
71
72 F9, k
73 "Kill" process: sends a signal which is selected in a menu, to one
74 or a group of processes. If processes were tagged, sends the sig‐
75 nal to all tagged processes. If none is tagged, sends to the cur‐
76 rently selected process.
77
78 F10, q
79 Quit
80
81 a (on multiprocessor machines)
82 Set CPU affinity: mark which CPUs a process is allowed to use.
83
84 u Show only processes owned by a specified user.
85
86 M Sort by memory usage (top compatibility key).
87
88 P Sort by processor usage (top compatibility key).
89
90 T Sort by time (top compatibility key).
91
92 F "Follow" process: if the sort order causes the currently selected
93 process to move in the list, make the selection bar follow it.
94 This is useful for monitoring a process: this way, you can keep a
95 process always visible on screen. When a movement key is used,
96 "follow" loses effect.
97
98 K Hide kernel threads: prevent the threads belonging the kernel to
99 be displayed in the process list. (This is a toggle key.)
100
101 H Hide user threads: on systems that represent them differently than
102 ordinary processes (such as recent NPTL-based systems), this can
103 hide threads from userspace processes in the process list. (This
104 is a toggle key.)
105
106 Ctrl-L
107 Refresh: redraw screen and recalculate values.
108
109 Numbers
110 PID search: type in process ID and the selection highlight will be
111 moved to it.
112
113
115 htop is developed by Hisham Muhammad <loderunner@users.source‐
116 forge.net>.
117 This man page was written by Bartosz Fenski <fenio@o2.pl> for the
118 Debian GNU/Linux distribution (but it may be used by others), and
119 updated by Hisham Muhammad.
120
121
122
123Bartosz Fenski <fenio@o2.pl> 0.7 htop(1)