X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=htoprc.in;h=e08fc1486df2f85b367b32f6dafe78c44313fc4c;hb=c7c76fd58de40b365a671bcc80efeda3e3fcf223;hp=5dd7d4a1df443ca103f6bf809846d064130553db;hpb=3b8b8df44af2f5074cc553bfb39d13c214457fba;p=config%2Fdotfiles.git diff --git a/htoprc.in b/htoprc.in index 5dd7d4a..e08fc14 100644 --- a/htoprc.in +++ b/htoprc.in @@ -1,6 +1,10 @@ # htop configuration file. -# Copyright (C) 2011-2012 Simon Ruderich +# Useful mappings: +# +# Use \ to limit to only matching processes (like l in mutt). _Very_ useful. + +# Copyright (C) 2011-2014 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,6 +22,22 @@ # Ordered in the same way htop orders them for easy diffing. +# Display the following fields (trailing whitespace for easy diffing ...): +# +# - PID (0) +# - USER (48) +# - NICE (18) +# - M_SIZE (38): virtual memory +# - M_RESIDENT (39): resident memory +# - M_SHARE (40): shared memory +# - STATE (2) +# - PERCENT_CPU (46) +# - PERCENT_MEM (47) +# - TIME (49) +# - STARTTIME (20) +# - Command (1) +fields=0 48 18 38 39 40 2 46 47 49 20 1 + # Don't display kernel threads. hide_kernel_threads=1 # But display userland threads. @@ -33,4 +53,21 @@ highlight_threads=1 # Display detailed CPU information, including IO-Wait. detailed_cpu_time=1 +# Display the following meters. +# +# left: - first part of CPU usage, bar (LeftCPUs) +# - memory usage, bar (Memory) +# - swap usage, bar (Swap) +# - hostname, text (Hostname) +# +# right: - second part of CPU usage, bar (RightCPUs) +# - task statistics, text (Tasks) +# - load average, text (LoadAverage) +# - uptime, text (Uptime) +# +left_meters=LeftCPUs Memory Swap Hostname +left_meter_modes=1 1 1 2 +right_meters=RightCPUs Tasks LoadAverage Uptime +right_meter_modes=1 2 2 2 + # vim: ft=cfg