configs

configs
git clone https://git.prime8.dev/configs.git
Log | Files | Refs | README

btop.conf (10365B)


      1 #? Config file for btop v.1.4.6
      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 = "Default"
      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 has been 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:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
     19 #* Use whitespace " " as separator between different presets.
     20 #* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
     21 presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
     22 
     23 #* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
     24 #* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
     25 vim_keys = false
     26 
     27 #* Rounded corners on boxes, is ignored if TTY mode is ON.
     28 rounded_corners = true
     29 
     30 #* Use terminal synchronized output sequences to reduce flickering on supported terminals.
     31 terminal_sync = true
     32 
     33 #* Default symbols to use for graph creation, "braille", "block" or "tty".
     34 #* "braille" offers the highest resolution but might not be included in all fonts.
     35 #* "block" has half the resolution of braille but uses more common characters.
     36 #* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
     37 #* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
     38 graph_symbol = "braille"
     39 
     40 # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
     41 graph_symbol_cpu = "default"
     42 
     43 # Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty".
     44 graph_symbol_gpu = "default"
     45 
     46 # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
     47 graph_symbol_mem = "default"
     48 
     49 # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
     50 graph_symbol_net = "default"
     51 
     52 # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
     53 graph_symbol_proc = "default"
     54 
     55 #* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
     56 shown_boxes = "cpu mem net proc"
     57 
     58 #* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
     59 update_ms = 100
     60 
     61 #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
     62 #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
     63 proc_sorting = "cpu lazy"
     64 
     65 #* Reverse sorting order, True or False.
     66 proc_reversed = false
     67 
     68 #* Show processes as a tree.
     69 proc_tree = false
     70 
     71 #* Use the cpu graph colors in the process list.
     72 proc_colors = true
     73 
     74 #* Use a darkening gradient in the process list.
     75 proc_gradient = true
     76 
     77 #* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
     78 proc_per_core = false
     79 
     80 #* Show process memory as bytes instead of percent.
     81 proc_mem_bytes = true
     82 
     83 #* Show cpu graph for each process.
     84 proc_cpu_graphs = true
     85 
     86 #* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
     87 proc_info_smaps = false
     88 
     89 #* Show proc box on left side of screen instead of right.
     90 proc_left = false
     91 
     92 #* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
     93 proc_filter_kernel = false
     94 
     95 #* In tree-view, always accumulate child process resources in the parent process.
     96 proc_aggregate = false
     97 
     98 #* Should cpu and memory usage display be preserved for dead processes when paused.
     99 keep_dead_proc_usage = false
    100 
    101 #* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
    102 #* Select from a list of detected attributes from the options menu.
    103 cpu_graph_upper = "Auto"
    104 
    105 #* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
    106 #* Select from a list of detected attributes from the options menu.
    107 cpu_graph_lower = "Auto"
    108 
    109 #* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off".
    110 show_gpu_info = "Auto"
    111 
    112 #* Toggles if the lower CPU graph should be inverted.
    113 cpu_invert_lower = true
    114 
    115 #* Set to True to completely disable the lower CPU graph.
    116 cpu_single_graph = false
    117 
    118 #* Show cpu box at bottom of screen instead of top.
    119 cpu_bottom = false
    120 
    121 #* Shows the system uptime in the CPU box.
    122 show_uptime = true
    123 
    124 #* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo.
    125 show_cpu_watts = true
    126 
    127 #* Show cpu temperature.
    128 check_temp = true
    129 
    130 #* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
    131 cpu_sensor = "Auto"
    132 
    133 #* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
    134 show_coretemp = true
    135 
    136 #* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
    137 #* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
    138 #* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
    139 #* Example: "4:0 5:1 6:3"
    140 cpu_core_map = ""
    141 
    142 #* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
    143 temp_scale = "celsius"
    144 
    145 #* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
    146 base_10_sizes = false
    147 
    148 #* Show CPU frequency.
    149 show_cpu_freq = true
    150 
    151 #* How to calculate CPU frequency, available values: "first", "range", "lowest", "highest" and "average".
    152 freq_mode = "first"
    153 
    154 #* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
    155 #* Special formatting: /host = hostname | /user = username | /uptime = system uptime
    156 clock_format = "%X"
    157 
    158 #* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
    159 background_update = true
    160 
    161 #* Custom cpu model name, empty string to disable.
    162 custom_cpu_name = ""
    163 
    164 #* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
    165 #* Only disks matching the filter will be shown. Prepend exclude= to only show disks not matching the filter. Examples: disk_filter="/boot /home/user", disks_filter="exclude=/boot /home/user"
    166 disks_filter = ""
    167 
    168 #* Show graphs instead of meters for memory values.
    169 mem_graphs = true
    170 
    171 #* Show mem box below net box instead of above.
    172 mem_below_net = false
    173 
    174 #* Count ZFS ARC in cached and available memory.
    175 zfs_arc_cached = true
    176 
    177 #* If swap memory should be shown in memory box.
    178 show_swap = true
    179 
    180 #* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
    181 swap_disk = true
    182 
    183 #* If mem box should be split to also show disks info.
    184 show_disks = false
    185 
    186 #* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
    187 only_physical = true
    188 
    189 #* Read disks list from /etc/fstab. This also disables only_physical.
    190 use_fstab = true
    191 
    192 #* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
    193 zfs_hide_datasets = false
    194 
    195 #* Set to true to show available disk space for privileged users.
    196 disk_free_priv = false
    197 
    198 #* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
    199 show_io_stat = true
    200 
    201 #* Toggles io mode for disks, showing big graphs for disk read/write speeds.
    202 io_mode = true
    203 
    204 #* Set to True to show combined read/write io graphs in io mode.
    205 io_graph_combined = false
    206 
    207 #* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
    208 #* Example: "/mnt/media:100 /:20 /boot:1".
    209 io_graph_speeds = ""
    210 
    211 #* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
    212 net_download = 100
    213 
    214 net_upload = 100
    215 
    216 #* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
    217 net_auto = true
    218 
    219 #* Sync the auto scaling for download and upload to whichever currently has the highest scale.
    220 net_sync = true
    221 
    222 #* Starts with the Network Interface specified here.
    223 net_iface = ""
    224 
    225 #* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes.
    226 base_10_bitrate = "Auto"
    227 
    228 #* Show battery stats in top right if battery is present.
    229 show_battery = true
    230 
    231 #* Which battery to use if multiple are present. "Auto" for auto detection.
    232 selected_battery = "Auto"
    233 
    234 #* Show power stats of battery next to charge indicator.
    235 show_battery_watts = true
    236 
    237 #* Set loglevel for "~/.local/state/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
    238 #* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
    239 log_level = "WARNING"
    240 
    241 #* Automatically save current settings to config file on exit.
    242 save_config_on_exit = true
    243 
    244 #* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
    245 nvml_measure_pcie_speeds = true
    246 
    247 #* Measure PCIe throughput on AMD cards, may impact performance on certain cards.
    248 rsmi_measure_pcie_speeds = true
    249 
    250 #* Horizontally mirror the GPU graph.
    251 gpu_mirror_graph = true
    252 
    253 #* Set which GPU vendors to show. Available values are "nvidia amd intel"
    254 shown_gpus = "nvidia amd intel"
    255 
    256 #* Custom gpu0 model name, empty string to disable.
    257 custom_gpu_name0 = ""
    258 
    259 #* Custom gpu1 model name, empty string to disable.
    260 custom_gpu_name1 = ""
    261 
    262 #* Custom gpu2 model name, empty string to disable.
    263 custom_gpu_name2 = ""
    264 
    265 #* Custom gpu3 model name, empty string to disable.
    266 custom_gpu_name3 = ""
    267 
    268 #* Custom gpu4 model name, empty string to disable.
    269 custom_gpu_name4 = ""
    270 
    271 #* Custom gpu5 model name, empty string to disable.
    272 custom_gpu_name5 = ""