From aeacd873392686f4fc12d93dab82903d1140f974 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 22 Mar 2015 22:37:16 +0100 Subject: many + uzbl --- ratpoison/panel/load | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratpoison/panel/load') 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 -- cgit v1.2.3-54-g00ecf