From 4467f98325f1ed718315437c1cf6b58e03bdf43a Mon Sep 17 00:00:00 2001 From: Teddysun Date: Wed, 20 Jun 2018 23:56:22 +0900 Subject: [PATCH] Fixed issues #26 Signed-off-by: Teddysun --- bench.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench.sh b/bench.sh index 805ef2f..9c2f75d 100644 --- a/bench.sh +++ b/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' | awk '{print $2}' )) -disk_size2=($( LANG=C df -hPl | grep -wvE '\-|none|tmpfs|devtmpfs|by-uuid|chroot|Filesystem' | awk '{print $3}' )) +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_total_size=$( calc_disk "${disk_size1[@]}" ) disk_used_size=$( calc_disk "${disk_size2[@]}" )