mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
update Disk information
This commit is contained in:
parent
ff8139a854
commit
95c2bab52a
4
bench.sh
4
bench.sh
@ -110,8 +110,8 @@ lbit=$( getconf LONG_BIT )
|
||||
host=$( hostname )
|
||||
kern=$( uname -r )
|
||||
ipv6=$( wget -qO- -t1 -T2 ipv6.icanhazip.com )
|
||||
disk_size1=($( df -ahPl | grep -wvE '\-|none|tmpfs|Filesystem' | awk '{print $2}' ))
|
||||
disk_size2=($( df -ahPl | grep -wvE '\-|none|tmpfs|Filesystem' | awk '{print $3}' ))
|
||||
disk_size1=($( df -ahPl | grep -wvE '\-|none|tmpfs|by-uuid|Filesystem' | awk '{print $2}' ))
|
||||
disk_size2=($( df -ahPl | grep -wvE '\-|none|tmpfs|by-uuid|Filesystem' | 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