diff options
author | eplanet <emeric.planet@gmail.com> | 2017-03-26 12:54:07 +0200 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2017-03-26 06:54:07 -0400 |
commit | 94651257cea4ff419f9cf2143d93193d5a5ccb96 (patch) | |
tree | ca563d7570df6c8e84e93a04ecf85037ab77eae8 /man | |
parent | 3ae0decbb33015fb111cdf7ea3d117bd6988cc05 (diff) |
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.
Diffstat (limited to 'man')
-rw-r--r-- | man/i3status.man | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/man/i3status.man b/man/i3status.man index 22d51ca..f1b6221 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -405,13 +405,16 @@ format_above_threshold. It is possible to define a degraded_threshold that will color the load value yellow in case the CPU average over the last interval is getting -higher than the configured threshold. Defaults to 90. The output format +higher than the configured threshold. Defaults to 90. The output format when above degraded threshold can be customized with format_above_degraded_threshold. +For displaying the Nth CPU usage, you can use the %cpu<N> format string, +starting from %cpu0. This feature is currently not supported in FreeBSD. + *Example order*: +cpu_usage+ -*Example format*: +%usage+ +*Example format*: +all: %usage CPU_0: %cpu0 CPU_1: %cpu1+ *Example max_threshold*: +75+ |