summaryrefslogtreecommitdiff
path: root/man/i3status.man
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2016-07-30 19:23:20 +0200
committerGitHub <noreply@github.com>2016-07-30 19:23:20 +0200
commit8e852fa94554f4caa162256e5f6ce2413027100b (patch)
tree373a3fbf687ff7fb8d5d0ee405b46dd8736d499f /man/i3status.man
parentdd0f6bf4b76e6431b3d51abceef42fd60bfb16b5 (diff)
parentdbc0f9bd8c3561eb7b9c2d7c13518cb825695d23 (diff)
Merge pull request #139 from Gjum/wb-colored-cpu-usage
Add CPU usage color thresholds
Diffstat (limited to 'man/i3status.man')
-rw-r--r--man/i3status.man15
1 files changed, 14 insertions, 1 deletions
diff --git a/man/i3status.man b/man/i3status.man
index 26ea831..32bc6e6 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -381,12 +381,25 @@ specified thermal zone is getting too hot. Defaults to 75 degrees C.
=== CPU Usage
-Gets the percentual CPU usage from +/proc/stat+ (Linux) or +sysctl(3)+ (FreeBSD/OpenBSD).
+Gets the percentual CPU usage from +/proc/stat+ (Linux) or +sysctl(3)+
+(FreeBSD/OpenBSD).
+
+It is possible to define a max_threshold that will color the load
+value red in case the CPU average over the last interval is getting
+higher than the configured threshold. Defaults to 95.
+
+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.
*Example order*: +cpu_usage+
*Example format*: +%usage+
+*Example max_threshold*: +75+
+
+*Example degraded_threshold*: +25+
+
=== Load
Gets the system load (number of processes waiting for CPU time in the last