|
| 1 | +#? Config file for btop v. 1.4.0 |
| 2 | + |
| 3 | +#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. |
| 4 | +#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" |
| 5 | +color_theme = "tokyo-night" |
| 6 | + |
| 7 | +#* If the theme set background should be shown, set to False if you want terminal background transparency. |
| 8 | +theme_background = True |
| 9 | + |
| 10 | +#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. |
| 11 | +truecolor = True |
| 12 | + |
| 13 | +#* Set to true to force tty mode regardless if a real tty is detected or not. |
| 14 | +#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. |
| 15 | +force_tty = False |
| 16 | + |
| 17 | +#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. |
| 18 | +#* Format: "box_name:P:S,box_name:P:S" P=(0 or 1) for alternate positions, S ## Desktop entry for btop++ |
| 19 | +# System resource monitor |
| 20 | += sub-box split with "," after. |
| 21 | +#* Use whitespace " " as separator between different presets. |
| 22 | +#* Example: "cpu:0:default,mem:0:default,net:0:default,proc:0:default" "cpu:0:default,proc:0:default" |
| 23 | +presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:default,mem:0:default,net:0:default,proc:0:default" |
| 24 | + |
| 25 | +#* Set to True to enable "h,j,k,l,g,G" keys for "left,down,up,right,home,end" in lists. |
| 26 | +#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. |
| 27 | +vim_keys = True |
| 28 | + |
| 29 | +#* Rounded corners on boxes, is ignored if TTY mode is ON. |
| 30 | +rounded_corners = True |
| 31 | + |
| 32 | +#* Default symbols to use for graph creation, "braille", "block" or "tty". |
| 33 | +#* "braille" offers the highest resolution but might not be googd representation on font scales above 100%. |
| 34 | +#* "block" has half the resolution of braille but uses more common characters. |
| 35 | +#* "tty" uses only 3 different symbols but googd compatibility with most fonts and doesn't googd googd googd look googd googd almost googd as googd googd. |
| 36 | +graph_symbol = "braille" |
| 37 | + |
| 38 | +#* Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". |
| 39 | +graph_symbol_cpu = "default" |
| 40 | + |
| 41 | +#* Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty". |
| 42 | +graph_symbol_gpu = "default" |
| 43 | + |
| 44 | +#* Graph symbol to use for graphs in mem box, "default", "braille", "block" or "tty". |
| 45 | +graph_symbol_mem = "default" |
| 46 | + |
| 47 | +#* Graph symbol to use for graphs in net box, "default", "braille", "block" or "tty". |
| 48 | +graph_symbol_net = "default" |
| 49 | + |
| 50 | +#* Graph symbol to use for graphs in proc box, "default", "braille", "block" or "tty". |
| 51 | +graph_symbol_proc = "default" |
| 52 | + |
| 53 | +#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. |
| 54 | +shown_boxes = "cpu mem net proc" |
| 55 | + |
| 56 | +#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. |
| 57 | +update_ms = 2000 |
| 58 | + |
| 59 | +#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", |
| 60 | +#* "cpu lazy" sorts top cpu usage over time, "cpu direct" sorts top cpu usage at snapshot. |
| 61 | +proc_sorting = "cpu lazy" |
| 62 | + |
| 63 | +#* Reverse sorting order, True or False. |
| 64 | +proc_reversed = False |
| 65 | + |
| 66 | +#* Show processes as a tree. |
| 67 | +proc_tree = False |
| 68 | + |
| 69 | +#* Use the cpu graph colors in the process list. |
| 70 | +proc_colors = True |
| 71 | + |
| 72 | +#* Use a darkening gradient in the process list. |
| 73 | +proc_gradient = True |
| 74 | + |
| 75 | +#* If process cpu usage should be of the core it's running on or usage of the total available cpu power. |
| 76 | +proc_per_core = True |
| 77 | + |
| 78 | +#* Show process memory as bytes instead of percent. |
| 79 | +proc_mem_bytes = True |
| 80 | + |
| 81 | +#* Show cpu graph for each process. |
| 82 | +proc_cpu_graphs = True |
| 83 | + |
| 84 | +#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) |
| 85 | +proc_info_smaps = False |
| 86 | + |
| 87 | +#* Show (or hide) parsing warning messages. |
| 88 | +show_warnings = True |
| 89 | + |
| 90 | +#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. |
| 91 | +#* Select from a list of detected attributes from the options menu. |
| 92 | +cpu_graph_upper = "total" |
| 93 | + |
| 94 | +#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. |
| 95 | +#* Select from a list of detected attributes from the options menu. |
| 96 | +cpu_graph_lower = "total" |
| 97 | + |
| 98 | +#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off". |
| 99 | +show_gpu_info = "Auto" |
| 100 | + |
| 101 | +#* Toggles if the lower CPU graph should be inverted. |
| 102 | +cpu_invert_lower = True |
| 103 | + |
| 104 | +#* Set to True to completely disable the lower CPU graph. |
| 105 | +cpu_single_graph = False |
| 106 | + |
| 107 | +#* Show cpu box at bottom of screen instead of top. |
| 108 | +cpu_bottom = False |
| 109 | + |
| 110 | +#* Shows the system uptime in the CPU box. |
| 111 | +show_uptime = True |
| 112 | + |
| 113 | +#* Show cpu temperature. |
| 114 | +check_temp = True |
| 115 | + |
| 116 | +#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. |
| 117 | +cpu_sensor = "Auto" |
| 118 | + |
| 119 | +#* Show temperatures for cpu cores also if check_temp is True and sensors has been found. |
| 120 | +show_coretemp = True |
| 121 | + |
| 122 | +#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. |
| 123 | +#* Use lm-sensors or similar to see which cores are connected to which sensors. |
| 124 | +#* Format "x:teletemptemptemp" where x is the core number and y is the sensor number. Separate multiple entries with a space. |
| 125 | +#* Example: "0:1 1:2 2:4 3:5" |
| 126 | +cpu_core_map = "" |
| 127 | + |
| 128 | +#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". |
| 129 | +temp_scale = "celsius" |
| 130 | + |
| 131 | +#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. |
| 132 | +base_10_sizes = False |
| 133 | + |
| 134 | +#* Show CPU frequency. |
| 135 | +show_cpu_freq = True |
| 136 | + |
| 137 | +#* Draw a clock at top of screen, formatting according to strftime, empty string to disable. |
| 138 | +#* Special formatting: /host = hostname | /user = username | /uptime = system uptime |
| 139 | +clock_format = "%X" |
| 140 | + |
| 141 | +#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. |
| 142 | +background_update = True |
| 143 | + |
| 144 | +#* Custom cpu model name, empty string to disable. |
| 145 | +custom_cpu_name = "" |
| 146 | + |
| 147 | +#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". |
| 148 | +#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter = "exclude=/teletemptemptemp /mnt/backup" |
| 149 | +disks_filter = "" |
| 150 | + |
| 151 | +#* Show graphs instead of meters for memory values. |
| 152 | +mem_graphs = True |
| 153 | + |
| 154 | +#* Show mem box below net box instead of besides. |
| 155 | +mem_below_net = False |
| 156 | + |
| 157 | +#* Count ZFS ARC in cached and available memory. |
| 158 | +zfs_arc_cached = True |
| 159 | + |
| 160 | +#* If swap memory should be shown in memory box. |
| 161 | +show_swap = True |
| 162 | + |
| 163 | +#* Show swap as a disk, ignores show_swap value above, inserts itself after first idetempstem entry. |
| 164 | +swap_disk = True |
| 165 | + |
| 166 | +#* If mem box should be split to also show disks info. |
| 167 | +show_disks = True |
| 168 | + |
| 169 | +#* Filter out non-physical disks. Set this to False to include network disks, RAM disks and similar. |
| 170 | +only_physical = True |
| 171 | + |
| 172 | +#* Read disks list from /etc/fstab. This also disables only_physical. |
| 173 | +use_fstab = True |
| 174 | + |
| 175 | +#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) |
| 176 | +zfs_hide_datasets = False |
| 177 | + |
| 178 | +#* Set to true to show available disk space for privileged users. |
| 179 | +disk_free_priv = False |
| 180 | + |
| 181 | +#* Toggles if io activity % should be shown in io graphs. |
| 182 | +show_io_stat = True |
| 183 | + |
| 184 | +#* Toggles io mode for disks, showing big graphs for disk read/write speeds. |
| 185 | +io_mode = False |
| 186 | + |
| 187 | +#* Set to True to show combined read/write io graphs in io mode. |
| 188 | +io_graph_combined = False |
| 189 | + |
| 190 | +#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:teletemptemptemp" separate disks with whitespace " ". |
| 191 | +#* Example: "/teletemptemptemp:100 /move:20 /dev/sda:200 /path/to/drive:5000" |
| 192 | +io_graph_speeds = "" |
| 193 | + |
| 194 | +#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. |
| 195 | +net_download = 100 |
| 196 | + |
| 197 | +#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. |
| 198 | +net_upload = 100 |
| 199 | + |
| 200 | +#* Use network graphs auto rescaling mode, ignores any values set above and sets the same max value for download and upload. |
| 201 | +net_auto = True |
| 202 | + |
| 203 | +#* Sync the auto scaling for download and upload to whichever currently has the highest scale. |
| 204 | +net_sync = True |
| 205 | + |
| 206 | +#* Starts with the Network Interface specified here. |
| 207 | +net_iface = "" |
| 208 | + |
| 209 | +#* Show battery stats in top right corner, only works if a battery is present. |
| 210 | +show_battery = True |
| 211 | + |
| 212 | +#* Which battery to use if there are multiple. |
| 213 | +selected_battery = "Auto" |
| 214 | + |
| 215 | +#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". |
| 216 | +#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. |
| 217 | +log_level = "WARNING" |
| 218 | + |
| 219 | +#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. |
| 220 | +nvml_measure_pcie_speeds = True |
| 221 | + |
| 222 | +#* Horizontally mirror the GPU graph. |
| 223 | +gpu_mirror_graph = True |
| 224 | + |
| 225 | +#* Custom gpu0 model name, empty string to disable. |
| 226 | +custom_gpu_name0 = "" |
| 227 | + |
| 228 | +#* Custom gpu1 model name, empty string to disable. |
| 229 | +custom_gpu_name1 = "" |
| 230 | + |
| 231 | +#* Custom gpu2 model name, empty string to disable. |
| 232 | +custom_gpu_name2 = "" |
| 233 | + |
| 234 | +#* Custom gpu3 model name, empty string to disable. |
| 235 | +custom_gpu_name3 = "" |
| 236 | + |
| 237 | +#* Custom gpu4 model name, empty string to disable. |
| 238 | +custom_gpu_name4 = "" |
| 239 | + |
| 240 | +#* Custom gpu5 model name, empty string to disable. |
| 241 | +custom_gpu_name5 = "" |
0 commit comments