From 09fe94da18d33d2c4e1fe415e8346fa99b9944b4 Mon Sep 17 00:00:00 2001 From: Narendran Gopalakrishnan Date: Sat, 17 Oct 2020 16:24:45 +0530 Subject: Improving Command display/sort --- htop.1.in | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'htop.1.in') diff --git a/htop.1.in b/htop.1.in index f597ea90..547f4e35 100644 --- a/htop.1.in +++ b/htop.1.in @@ -218,6 +218,9 @@ Show full paths to running programs, where applicable. (This is a toggle key.) .B Z Pause/resume process updates. .TP +.B m +Merge exe, comm and cmdline, where applicable. (This is a toggle key.) +.TP .B Ctrl-L Refresh: redraw screen and recalculate values. .TP @@ -238,7 +241,18 @@ main screen, it is shown below in parenthesis. .LP .TP 5 .B Command -The full command line of the process (i.e. program name and arguments). +The full command line of the process (i.e. program name and arguments). If the +option 'Merge exe, comm and cmdline in Command' (toggled by the 'm' key) is set, +and if readable, the executable path (/proc/[pid]/exe) and the command name +(/proc/[pid]/comm) are also shown merged with the command line. +.TP +.B Comm +The command name of the process obtained from /proc/[pid]/comm, if readable. +.TP +.B Exe +The abbreviated basename of the executable of the process, obtained from +/proc/[pid]/exe, if readable. htop is able to read this file on linux for ALL +the processes only if it has the capability CAP_SYS_PTRACE or root privileges. .TP .B PID The process ID. -- cgit v1.2.3