This commit is contained in:
Teddysun 2016-07-12 09:26:54 +09:00
parent 391808dda8
commit cbc45385a5

View File

@ -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 $4}' | sed 's/^[ \t]*//;s/[ \t]*$//' )
load=$( w | head -1 | awk -F'load average:' '{print $2}' | sed 's/^[ \t]*//;s/[ \t]*$//' )
opsy=$( get_opsy )
arch=$( uname -m )
lbit=$( getconf LONG_BIT )