]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - htoprc.in
194328d78db521d8bc8201e02d4fff0e65dd493e
[config/dotfiles.git] / htoprc.in
1 # htop configuration file.
2
3 # Useful mappings:
4 #
5 # Use \ to limit to only matching processes (like l in mutt). _Very_ useful.
6
7 # Copyright (C) 2011-2014  Simon Ruderich
8 #
9 # This file is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
13 #
14 # This file is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
21
22
23 # Ordered in the same way htop orders them for easy diffing.
24
25 # Display the following fields (trailing whitespace for easy diffing ...):
26 #
27 # - PID (0)
28 # - USER (48)
29 # - NICE (18)
30 # - M_SIZE (38): virtual memory
31 # - M_RESIDENT (39): resident memory
32 # - M_SHARE (40): shared memory
33 # - STATE (2)
34 # - PERCENT_CPU (46)
35 # - PERCENT_MEM (47)
36 # - TIME (49)
37 # - STARTTIME (20)
38 # - Command (1)
39 fields=0 48 18 38 39 40 2 46 47 49 20 1 
40
41 # Don't display kernel threads.
42 hide_kernel_threads=1
43 # But display userland threads.
44 hide_userland_threads=0
45 # Display thread names. The command line is displayed in the tree view as
46 # parent of the threads.
47 show_thread_names=1
48
49 # Highlight program base name.
50 highlight_base_name=1
51 # Highlight megabytes in memory usage.
52 highlight_megabytes=1
53 # Highlight threads.
54 highlight_threads=1
55
56 # Display detailed CPU information, including IO-Wait.
57 detailed_cpu_time=1
58
59 # Display the following meters.
60 #
61 # left: - first part of CPU usage, bar (LeftCPUs)
62 #       - memory usage, bar (Memory)
63 #       - swap usage, bar (Swap)
64 #       - hostname, text (Hostname)
65 #
66 # right: - second part of CPU usage, bar (RightCPUs)
67 #        - task statistics, text (Tasks)
68 #        - load average, text (LoadAverage)
69 #        - uptime, text (Uptime)
70 #
71 left_meters=LeftCPUs Memory Swap Hostname 
72 left_meter_modes=1 1 1 2 
73 right_meters=RightCPUs Tasks LoadAverage Uptime 
74 right_meter_modes=1 2 2 2 
75
76 # vim: ft=cfg