mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
update
This commit is contained in:
parent
391808dda8
commit
cbc45385a5
2
bench.sh
2
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 $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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user