]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - htoprc.in
bash/rc: improve comment
[config/dotfiles.git] / htoprc.in
index 58a8749a6e5b86fc6a375140eb34aab90943a9a5..194328d78db521d8bc8201e02d4fff0e65dd493e 100644 (file)
--- a/htoprc.in
+++ b/htoprc.in
@@ -1,6 +1,10 @@
 # htop configuration file.
 
-# Copyright (C) 2011-2013  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
@@ -38,6 +42,9 @@ fields=0 48 18 38 39 40 2 46 47 49 20 1
 hide_kernel_threads=1
 # But display userland threads.
 hide_userland_threads=0
+# Display thread names. The command line is displayed in the tree view as
+# parent of the threads.
+show_thread_names=1
 
 # Highlight program base name.
 highlight_base_name=1
@@ -49,4 +56,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