Module i3status_rs::blocks::cpu
source · Expand description
CPU statistics
§Configuration
Key | Values | Default |
---|---|---|
format | A string to customise the output of this block. See below for available placeholders. | " $icon $utilization " |
format_alt | If set, block will switch between format and format_alt on every click | None |
interval | Update interval in seconds | 5 |
info_cpu | Percentage of CPU usage, where state is set to info | 30.0 |
warning_cpu | Percentage of CPU usage, where state is set to warning | 60.0 |
critical_cpu | Percentage of CPU usage, where state is set to critical | 90.0 |
Placeholder | Value | Type | Unit |
---|---|---|---|
icon | An icon | Icon | - |
utilization | Average CPU utilization | Number | % |
utilization<N> | Utilization of Nth logical CPU | Number | % |
barchart | Utilization of all logical CPUs presented as a barchart | Text | - |
frequency | Average CPU frequency (may be absent if CPU is not supported) | Number | Hz |
frequency<N> | Frequency of Nth logical CPU (may be absent if CPU is not supported) | Number | Hz |
max_frequency | Max frequency of all logical CPUs | Number | Hz |
boost | CPU turbo boost status (may be absent if CPU is not supported) | Text | - |
Action | Description | Default button |
---|---|---|
toggle_format | Toggles between format and format_alt | Left |
§Example
[[block]]
block = "cpu"
interval = 1
format = " $icon $barchart $utilization "
format_alt = " $icon $frequency{ $boost|} "
info_cpu = 20
warning_cpu = 50
critical_cpu = 90
§Icons Used
cpu
(as a progression)cpu_boost_on
cpu_boost_off