summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2009-06-02 05:06:20 +0000
committerHisham Muhammad <hisham@gobolinux.org>2009-06-02 05:06:20 +0000
commit9b8d11d9f186ebefc4d7382fb166b7fbe3446623 (patch)
tree6096441355b17f7061c70a2a2f51b4fc55bcbc08
parent6330ff3a0ac6d279132d36cea027ad3f065707b1 (diff)
doc fix
-rw-r--r--htop.14
-rw-r--r--htop.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/htop.1 b/htop.1
index b91275e5..e40defcc 100644
--- a/htop.1
+++ b/htop.1
@@ -50,6 +50,10 @@ Trace process system calls: if strace(1) is installed, pressing this key
will attach it to the currently selected process, presenting a live
update of system calls issued by the process.
.TP
+.B l
+Display open files for a process: if lsof(1) is installed, pressing this key
+will display the list of file descriptors opened by the process.
+.TP
.B F1, h
Help screen
.TP
diff --git a/htop.c b/htop.c
index e04f9350..47f16dbc 100644
--- a/htop.c
+++ b/htop.c
@@ -139,7 +139,7 @@ static void showHelp(ProcessList* pl) {
mvaddstr(18, 0, " a:");
#endif
mvaddstr(19, 0, " F2 S"); mvaddstr(19,40, " F6 >");
- mvaddstr(20, 0, " F1 h");
+ mvaddstr(20, 0, " F1 h"); mvaddstr(20,40, " l");
mvaddstr(21, 0, " F10 q"); mvaddstr(21,40, " s");
attrset(CRT_colors[DEFAULT_COLOR]);

© 2014-2024 Faster IT GmbH | imprint | privacy policy