| 1 | # Flags |
| 2 | |
| 3 | !!! Warning |
| 4 | |
| 5 | This section is in progress, and is just copied from the old documentation. |
| 6 | |
| 7 | You can configure flags by putting them in `[flags]` table. Example: |
| 8 | |
| 9 | ```toml |
| 10 | [flags] |
| 11 | hide_avg_cpu = true |
| 12 | ``` |
| 13 | |
| 14 | Most of the [command line flags](../command-line-options.md) have config file equivalents to avoid having to type them out |
| 15 | each time: |
| 16 | |
| 17 | | Field | Type | Functionality | |
| 18 | | ---------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 19 | | `hide_avg_cpu` | Boolean | Deprecated - use `cpu.hide_avg_cpu`. Hides the average CPU usage. | |
| 20 | | `dot_marker` | Boolean | Uses a dot marker for graphs. | |
| 21 | | `cpu_left_legend` | Boolean | Deprecated - use `cpu.left_legend`. Puts the CPU chart legend to the left side. | |
| 22 | | `current_usage` | Boolean | Deprecated - use `processes.current_usage`. Sets process CPU% to be based on current CPU%. | |
| 23 | | `group_processes` | Boolean | Deprecated - use `processes.default_grouped`. Groups processes with the same name by default. | |
| 24 | | `case_sensitive` | Boolean | Deprecated - use `processes.case_sensitive`. Enables case sensitivity by default. | |
| 25 | | `whole_word` | Boolean | Deprecated - use `processes.whole_word`. Enables whole-word matching by default. | |
| 26 | | `regex` | Boolean | Deprecated - use `processes.regex`. Enables regex by default. | |
| 27 | | `basic` | Boolean | Hides graphs and uses a more basic look. | |
| 28 | | `use_old_network_legend` | Boolean | DEPRECATED - uses the older network legend. | |
| 29 | | `battery` | Boolean | Shows the battery widget. | |
| 30 | | `rate` | Unsigned Int (represents milliseconds) or String (represents human time) | Sets a refresh rate in ms. | |
| 31 | | `default_time_value` | Unsigned Int (represents milliseconds) or String (represents human time) | Default time value for graphs in ms. | |
| 32 | | `time_delta` | Unsigned Int (represents milliseconds) or String (represents human time) | The amount in ms changed upon zooming. | |
| 33 | | `hide_time` | Boolean | Hides the time scale. | |
| 34 | | `temperature_type` | String (one of ["k", "f", "c", "kelvin", "fahrenheit", "celsius"]) | Sets the temperature unit type. | |
| 35 | | `default_widget_type` | String (one of ["cpu", "proc", "net", "temp", "mem", "disk"], same as layout options) | Sets the default widget type, use --help for more info. | |
| 36 | | `default_widget_count` | Unsigned Int (represents which `default_widget_type`) | Sets the n'th selected widget type as the default. | |
| 37 | | `disable_click` | Boolean | Disables mouse clicks. | |
| 38 | | `enable_cache_memory` | Boolean | Deprecated - use `memory.cache_memory`. Enable cache and buffer memory stats (not available on Windows). | |
| 39 | | `process_memory_as_value` | Boolean | Deprecated - use `processes.default_memory_value`. Defaults to showing process memory usage by value. | |
| 40 | | `tree` | Boolean | Deprecated - use `processes.default_tree`. Defaults to showing the process widget in tree mode. | |
| 41 | | `show_table_scroll_position` | Boolean | Shows the scroll position tracker in table widgets. | |
| 42 | | `show_table_scroll_bar` | Boolean | Shows a scroll bar on the right edge of table widgets. | |
| 43 | | `process_command` | Boolean | Deprecated - use `processes.process_command`. Show processes as their commands by default. | |
| 44 | | `disable_advanced_kill` | Boolean | Deprecated - use `processes.disable_advanced_kill`. Disable being able to send signals to processes on supported Unix-like systems. Only available on Linux, macOS, and FreeBSD. | |
| 45 | | `read_only` | Boolean | Prevents performing any actions that affect the system (e.g. stopping processes). | |
| 46 | | `network_use_binary_prefix` | Boolean | Deprecated - use `network_graph.use_binary_prefix`. Displays the network widget with binary prefixes. | |
| 47 | | `network_use_bytes` | Boolean | Deprecated - use `network_graph.use_bytes`. Displays the network widget using bytes. | |
| 48 | | `network_use_log` | Boolean | Deprecated - use `network_graph.use_log`. Displays the network widget with a log scale. | |
| 49 | | `disable_gpu` | Boolean | Disable NVIDIA and AMD GPU data collection. | |
| 50 | | `retention` | String (human readable time, such as "10m", "1h", etc.) | How much data is stored at once in terms of time. | |
| 51 | | `unnormalized_cpu` | Boolean | Deprecated - use `processes.unnormalized_cpu`. Show process CPU% without normalizing over the number of cores. | |
| 52 | | `expanded` | Boolean | Expand the default widget upon starting the app. | |
| 53 | | `memory_legend` | String (one of ["none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right"]) | Deprecated - use `memory_graph.legend_position` or `memory.legend_position`; where to place the legend for the memory widget. | |
| 54 | | `network_legend` | String (one of ["none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right"]) | Deprecated - use `network_graph.legend_position` or `network.legend_position`; where to place the legend for the network widget. | |
| 55 | | `average_cpu_row` | Boolean | Deprecated - use `cpu.basic_average_cpu_row`. Moves the average CPU usage entry to its own row when using basic mode. | |
| 56 | | `tree_collapse` | Boolean | Deprecated - use `processes.tree_collapse`. Collapse process tree by default. | |
| 57 | | `autohide_time` | Boolean | Temporarily shows the time scale in graphs. | |
| 58 | | `table_gap` | String (one of ["none", "space", "line"]) | Controls the gap between table headers and data rows. Defaults to "space". | |
| 59 | | `disable_keys` | Boolean | Disables keyboard shortcuts, including the ones that stop bottom. | |
| 60 | | `no_write` | Boolean | Disables writing to the config file. | |
| 61 | | `hide_k_threads` | Boolean | Deprecated - use `processes.hide_k_threads`. Hide kernel threads from being shown. | |
| 62 | | `free_arc` | Boolean | Deprecated - use `memory.free_arc`. Subtract ARC memory that can be freed from memory usage. | |