-
Notifications
You must be signed in to change notification settings - Fork 1
Modules: CPU
github-actions[bot] edited this page Jan 30, 2025
·
1 revision
Name: cpu
Shows the cpu usage, also has a popup which can show more stats, including each core individually.
This module reads stats from /proc/stat
, see kernel.org
You can override the default settings defined in Module Styling by setting them in this section: module:cpu
.
Option | Description | Data type | Default |
---|---|---|---|
icon | the icon to use | String | |
You can override the default settings defined in Popup Styling by setting them in this section: module_popup:cpu
.
Option | Description | Data type | Default |
---|---|---|---|
format | the format of the popup text | String | Total: {{total}}%\nUser: {{user}}%\nSystem: {{system}}%\nGuest: {{guest}}%\n{{cores}} |
format_core | the format of the cpu core | String | Core {{index}}: {{total}}% |
both format
and format_core
support:
-
total
: The total cpu/core usage -
user
: The userspace cpu/core usage -
system
: the kernelspace cpu/core usage -
guest
: the usage of processes running in a guest session
format
additionally supports:
-
cores
: all cores ordered by their id (ascending), separated by line breaks
format_core
additionally supports:
-
index
: The index of the core