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