From fbb17d5c54a099b59c7c1c0c40306f022a2976dd Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 7 Nov 2010 15:20:36 +0000 Subject: red only if >97% --- cpuload.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit v1.2.3