From 4ea6fc0b461da7c0a8b5af462bf227aa006f3dfb Mon Sep 17 00:00:00 2001 From: Teddysun Date: Thu, 1 Aug 2019 12:09:43 +0900 Subject: [PATCH] Update bench.sh --- bench.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bench.sh b/bench.sh index 3a487b4..0a845f2 100644 --- a/bench.sh +++ b/bench.sh @@ -106,7 +106,7 @@ opsy=$( get_opsy ) arch=$( uname -m ) lbit=$( getconf LONG_BIT ) kern=$( uname -r ) -ipv6=$( wget -qO- -t1 -T2 ipv6.icanhazip.com ) +#ipv6=$( wget -qO- -t1 -T2 ipv6.icanhazip.com ) 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[@]}" ) @@ -144,7 +144,7 @@ echo -e "Average I/O speed : ${YELLOW}$ioavg MB/s${PLAIN}" next printf "%-32s%-24s%-14s\n" "Node Name" "IPv4 address" "Download Speed" speed_v4 && next -if [[ "$ipv6" != "" ]]; then - printf "%-32s%-24s%-14s\n" "Node Name" "IPv6 address" "Download Speed" - speed_v6 && next -fi +#if [[ "$ipv6" != "" ]]; then +# printf "%-32s%-24s%-14s\n" "Node Name" "IPv6 address" "Download Speed" +# speed_v6 && next +#fi