mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
update IO test position
This commit is contained in:
parent
ed5df590f0
commit
5cef615bdc
16
bench.sh
16
bench.sh
@ -132,14 +132,6 @@ echo "OS : $opsy"
|
||||
echo "Arch : $arch ($lbit Bit)"
|
||||
echo "Kernel : $kern"
|
||||
next
|
||||
|
||||
echo -e "Node Name\t\t\tIPv4 address\t\tDownload Speed"
|
||||
speed && next
|
||||
if [[ "$ipv6" != "" ]]; then
|
||||
echo -e "Node Name\t\t\tIPv6 address\t\tDownload Speed"
|
||||
speed_v6 && next
|
||||
fi
|
||||
|
||||
io1=$( io_test )
|
||||
echo "I/O speed(1st run) : $io1"
|
||||
io2=$( io_test )
|
||||
@ -155,4 +147,10 @@ ioraw3=$( echo $io3 | awk 'NR==1 {print $1}' )
|
||||
ioall=$( awk 'BEGIN{print '$ioraw1' + '$ioraw2' + '$ioraw3'}' )
|
||||
ioavg=$( awk 'BEGIN{print '$ioall'/3}' )
|
||||
echo "Average I/O speed : $ioavg MB/s"
|
||||
echo
|
||||
next
|
||||
echo -e "Node Name\t\t\tIPv4 address\t\tDownload Speed"
|
||||
speed && next
|
||||
if [[ "$ipv6" != "" ]]; then
|
||||
echo -e "Node Name\t\t\tIPv6 address\t\tDownload Speed"
|
||||
speed_v6 && next
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user