mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 22:09:35 +08:00
Fixed docker image problem
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
24fcd15302
commit
fc72897819
4
bench.sh
4
bench.sh
@ -107,8 +107,8 @@ arch=$( uname -m )
|
||||
lbit=$( getconf LONG_BIT )
|
||||
kern=$( uname -r )
|
||||
ipv6=$( wget -qO- -t1 -T2 ipv6.icanhazip.com )
|
||||
disk_size1=($( LANG=C df -hPl | grep -wvE '\-|none|tmpfs|devtmpfs|by-uuid|chroot|Filesystem|udev' | awk '{print $2}' ))
|
||||
disk_size2=($( LANG=C df -hPl | grep -wvE '\-|none|tmpfs|devtmpfs|by-uuid|chroot|Filesystem|udev' | awk '{print $3}' ))
|
||||
disk_size1=($( LANG=C df -hPl | grep -wvE '\-|none|tmpfs|devtmpfs|by-uuid|chroot|Filesystem|udev|docker' | awk '{print $2}' ))
|
||||
disk_size2=($( LANG=C df -hPl | grep -wvE '\-|none|tmpfs|devtmpfs|by-uuid|chroot|Filesystem|udev|docker' | awk '{print $3}' ))
|
||||
disk_total_size=$( calc_disk "${disk_size1[@]}" )
|
||||
disk_used_size=$( calc_disk "${disk_size2[@]}" )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user