scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit db8c63abc8d5d18036bb7237de0205d4b8dbfc2b
parent 749f785cb103b0f0a81fd9b34643444e1e1f3901
Author: z3bra <willy@mailoo.org>
Date:   Thu Jul 10 12:44:10 +0200

Fixed cpuload

Diffstat:
cpuload | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpuload b/cpuload @@ -13,7 +13,7 @@ EOF cpuperc () { LINE=`ps -eo pcpu |grep -vE '^\s*(0.0|%CPU)' |sed -n '1h;$!H;$g;s/\n/ +/gp'` - printf "%0.2f%\n" `echo $LINE | bc` + echo "`echo $LINE | bc`%" } case $1 in