Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
2a025bf4
Commit
2a025bf4
authored
Nov 16, 2006
by
Hisham Muhammad
Browse files
Add information about the status column
(which I always forget) in the help page
parent
14808f7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
htop.c
View file @
2a025bf4
...
...
@@ -93,35 +93,36 @@ void showHelp(ProcessList* pl) {
addattrstr
(
CRT_colors
[
BAR_BORDER
],
"]"
);
attrset
(
CRT_colors
[
DEFAULT_COLOR
]);
mvaddstr
(
6
,
0
,
"Type and layout of header meters are configurable in the setup screen."
);
mvaddstr
(
8
,
0
,
" Arrows: scroll process list F5 t: tree view"
);
mvaddstr
(
9
,
0
,
" Digits: incremental PID search u: show processes of a single user"
);
mvaddstr
(
10
,
0
,
" F3 /: incremental name search H: hide/show user threads"
);
mvaddstr
(
11
,
0
,
" K: hide/show kernel threads"
);
mvaddstr
(
12
,
0
,
" Space: tag processes F: cursor follows process"
);
mvaddstr
(
13
,
0
,
" U: untag all processes"
);
mvaddstr
(
14
,
0
,
" F9 k: kill process/tagged processes P: sort by CPU%"
);
mvaddstr
(
15
,
0
,
" + [ F7: lower priority (+ nice) M: sort by MEM%"
);
mvaddstr
(
16
,
0
,
" - ] F8: higher priority (root only) T: sort by TIME"
);
mvaddstr
(
17
,
0
,
" F4 I: invert sort order"
);
mvaddstr
(
18
,
0
,
" F2 S: setup F6 >: select sort column"
);
mvaddstr
(
19
,
0
,
" F1 h: show this help screen"
);
mvaddstr
(
20
,
0
,
" F10 q: quit s: trace syscalls with strace"
);
mvaddstr
(
7
,
0
,
"Status: R: running; S: sleeping; T: traced/stopped; Z: zombie; D: disk sleep"
);
mvaddstr
(
9
,
0
,
" Arrows: scroll process list F5 t: tree view"
);
mvaddstr
(
10
,
0
,
" Digits: incremental PID search u: show processes of a single user"
);
mvaddstr
(
11
,
0
,
" F3 /: incremental name search H: hide/show user threads"
);
mvaddstr
(
12
,
0
,
" K: hide/show kernel threads"
);
mvaddstr
(
13
,
0
,
" Space: tag processes F: cursor follows process"
);
mvaddstr
(
14
,
0
,
" U: untag all processes"
);
mvaddstr
(
15
,
0
,
" F9 k: kill process/tagged processes P: sort by CPU%"
);
mvaddstr
(
16
,
0
,
" + [ F7: lower priority (+ nice) M: sort by MEM%"
);
mvaddstr
(
17
,
0
,
" - ] F8: higher priority (root only) T: sort by TIME"
);
mvaddstr
(
18
,
0
,
" F4 I: invert sort order"
);
mvaddstr
(
19
,
0
,
" F2 S: setup F6 >: select sort column"
);
mvaddstr
(
20
,
0
,
" F1 h: show this help screen"
);
mvaddstr
(
21
,
0
,
" F10 q: quit s: trace syscalls with strace"
);
attrset
(
CRT_colors
[
HELP_BOLD
]);
mvaddstr
(
8
,
0
,
" Arrows"
);
mvaddstr
(
8
,
40
,
" F5 t"
);
mvaddstr
(
9
,
0
,
" Digits"
);
mvaddstr
(
9
,
40
,
" u"
);
mvaddstr
(
1
0
,
0
,
" F3 /"
);
mvaddstr
(
1
0
,
40
,
" H"
);
mvaddstr
(
1
1
,
40
,
" K"
);
mvaddstr
(
1
2
,
0
,
" Space"
);
mvaddstr
(
1
2
,
40
,
" F"
);
mvaddstr
(
1
3
,
0
,
" U"
);
mvaddstr
(
1
4
,
0
,
" F9 k"
);
mvaddstr
(
1
4
,
40
,
" P"
);
mvaddstr
(
1
5
,
0
,
" + [ F7"
);
mvaddstr
(
1
5
,
40
,
" M"
);
mvaddstr
(
1
6
,
0
,
" - ] F8"
);
mvaddstr
(
1
6
,
40
,
" T"
);
mvaddstr
(
1
7
,
40
,
" F4 I"
);
mvaddstr
(
1
8
,
0
,
" F2 S"
);
mvaddstr
(
1
8
,
40
,
" F6 >"
);
mvaddstr
(
19
,
0
,
" F1 h"
);
mvaddstr
(
2
0
,
0
,
" F10 q"
);
mvaddstr
(
2
0
,
40
,
" s"
);
mvaddstr
(
9
,
0
,
" Arrows"
);
mvaddstr
(
9
,
40
,
" F5 t"
);
mvaddstr
(
10
,
0
,
" Digits"
);
mvaddstr
(
10
,
40
,
" u"
);
mvaddstr
(
1
1
,
0
,
" F3 /"
);
mvaddstr
(
1
1
,
40
,
" H"
);
mvaddstr
(
1
2
,
40
,
" K"
);
mvaddstr
(
1
3
,
0
,
" Space"
);
mvaddstr
(
1
3
,
40
,
" F"
);
mvaddstr
(
1
4
,
0
,
" U"
);
mvaddstr
(
1
5
,
0
,
" F9 k"
);
mvaddstr
(
1
5
,
40
,
" P"
);
mvaddstr
(
1
6
,
0
,
" + [ F7"
);
mvaddstr
(
1
6
,
40
,
" M"
);
mvaddstr
(
1
7
,
0
,
" - ] F8"
);
mvaddstr
(
1
7
,
40
,
" T"
);
mvaddstr
(
1
8
,
40
,
" F4 I"
);
mvaddstr
(
1
9
,
0
,
" F2 S"
);
mvaddstr
(
1
9
,
40
,
" F6 >"
);
mvaddstr
(
20
,
0
,
" F1 h"
);
mvaddstr
(
2
1
,
0
,
" F10 q"
);
mvaddstr
(
2
1
,
40
,
" s"
);
attrset
(
CRT_colors
[
DEFAULT_COLOR
]);
attrset
(
CRT_colors
[
HELP_BOLD
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment