aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/panel/load
diff options
context:
space:
mode:
Diffstat (limited to 'ratpoison/panel/load')
-rwxr-xr-xratpoison/panel/load2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratpoison/panel/load b/ratpoison/panel/load
index 3977bee..a1dbcdb 100755
--- a/ratpoison/panel/load
+++ b/ratpoison/panel/load
@@ -1,6 +1,6 @@
#!/bin/bash
while true; do
-cpu=`mpstat -P ALL 2 1 | grep "Average.*all" | awk '{print $3+$5}'`
+cpu=`mpstat -P ALL 10 1 | grep "Average.*all" | awk '{print $3+$5}'`
mem=`free | grep Mem | awk '{print $3/$2 * 100.0}'`
printf "C%.*f\n" 1 $cpu
printf "R%.*f\n" 0 $mem