From 771a1be316d9aea91bec22c32288fe7b9d88d15c Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 19 Dec 2020 16:58:13 +0100 Subject: [PATCH] Update documentation for basename coloring of cmdline/exe columns --- htop.1.in | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/htop.1.in b/htop.1.in index af3ca6b7..972f823c 100644 --- a/htop.1.in +++ b/htop.1.in @@ -254,10 +254,14 @@ shown in main screen, it is shown below in parenthesis. .TP 5 .B Command -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. +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 active, the executable path (/proc/[pid]/exe) and the command name +(/proc/[pid]/comm) are also shown merged with the command line, if available. + +The program basename is highlighted if set in the configuration. Additional +highlighting can be configured for stale executables (cf. Exe column below). .TP .B Comm The command name of the process obtained from /proc/[pid]/comm, if readable. @@ -266,6 +270,10 @@ The command name of the process obtained from /proc/[pid]/comm, if readable. 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. + +The basename is marked in red if the executable used to run the process has +been replaced or deleted on disk since the process started. This additional +markup can be configured. .TP .B PID The process ID.