summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (venus) <paul@buetow.org>2012-01-21 14:27:22 +0100
committerPaul Buetow (venus) <paul@buetow.org>2012-01-21 14:27:22 +0100
commitdeb7e78308c5047292c5235554da7ccf3b461c14 (patch)
treec68daefd6da421430d6dd7fa1347cbad6b6ed901
parent5bcf7139d8b7e05ab78fce1ddcb06f8764cb0d81 (diff)
iowait is now also in pk
-rwxr-xr-xloadbars2
1 files changed, 1 insertions, 1 deletions
diff --git a/loadbars b/loadbars
index b447372..5b79822 100755
--- a/loadbars
+++ b/loadbars
@@ -445,7 +445,7 @@ sub main_loop ($@) {
$rect_peak->x($x);
$rect_peak->y($C{height} - $maxheights{system} - $maxheights{user});
- $max_all = sum @{$cpumax}{qw(user system)};
+ $max_all = sum @{$cpumax}{qw(user system iowait)};
$max_all = 100 if $max_all > 100;
$app->fill($rect_peak, $max_all > Loadbars::USER_ORANGE ? Loadbars::ORANGE