From 391808dda8e1ceaf9bbae2d8894250cd84866cfd Mon Sep 17 00:00:00 2001 From: Teddysun Date: Mon, 11 Jul 2016 22:23:06 +0900 Subject: [PATCH] update --- bench.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench.sh b/bench.sh index 287e32c..6cf2d03 100644 --- a/bench.sh +++ b/bench.sh @@ -86,7 +86,7 @@ if [ -e '/usr/bin/wget' ]; then tram=$( free -m | awk '/Mem/ {print $2}' ) swap=$( free -m | awk '/Swap/ {print $2}' ) up=$( awk '{a=$1/86400;b=($1%86400)/3600;c=($1%3600)/60;d=$1%60} {printf("%ddays, %d:%d:%d\n",a,b,c,d)}' /proc/uptime ) - load=$( w | head -1 | awk -F: '{print $5}' | sed 's/^[ \t]*//;s/[ \t]*$//' ) + load=$( w | head -1 | awk -F: '{print $4}' | sed 's/^[ \t]*//;s/[ \t]*$//' ) opsy=$( get_opsy ) arch=$( uname -m ) lbit=$( getconf LONG_BIT )