summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2010-11-07 15:20:36 +0000
committerPaul Buetow <paul@buetow.org>2010-11-07 15:20:36 +0000
commitfbb17d5c54a099b59c7c1c0c40306f022a2976dd (patch)
treefea58b3920fbb9d09dabf852b892ad28db8a47f5
parent7de3cc002c7c1f8f11f201c3789a3874c413aa62 (diff)
red only if >97%
-rwxr-xr-xcpuload.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpuload.pl b/cpuload.pl
index 272969b..7a8b7bf 100755
--- a/cpuload.pl
+++ b/cpuload.pl
@@ -241,7 +241,7 @@ sub graph_stats ($$) {
$app->fill($rect_system, $load_average{system} > 30
? $colors->{purple}
: $colors->{blue});
- $app->fill($rect_user, $system_n_user > 90
+ $app->fill($rect_user, $system_n_user > 97
? $colors->{red}
: ( $system_n_user > 70
? $colors->{orange}