From 94651257cea4ff419f9cf2143d93193d5a5ccb96 Mon Sep 17 00:00:00 2001 From: eplanet Date: Sun, 26 Mar 2017 12:54:07 +0200 Subject: 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. --- man/i3status.man | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'man') 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 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+ -- cgit v1.2.3