i3status/testcases/013-cpu-usage-error/i3status.conf
eplanet 94651257ce Multiple CPU support for cpu_usage (#209)
This change addresses the issue #199 asking for multiple CPU support. It
takes an arbitrary CPU number and outputs its usage using the same
arithmetics as for CPU aggregation. It currently doesn't support
FreeBSD.
2017-03-26 06:54:07 -04:00

13 lines
232 B
Plaintext

general {
output_format = "none"
}
order += "cpu_usage"
cpu_usage {
format = "all: %usage CPU_0: %cpu0 CPU_1: %cpu1"
path = "testcases/013-cpu-usage-error/stat"
max_threshold = 90
degraded_threshold = 75
}