01-03-2021, 09:12 AM
I did forget to comment on this part of the OP:
That's because the Australia end-point is dead, just comment it out in the script to skip it, as shown below:
@sohamb03 needs to look into this, as his end-point too is dead for awhile (even before the VPS loss.) which brings me to suggest for adding a timeout into the script which prevents this kind of recurring issues when any end-point is offline for whatever reason.
(12-17-2020, 06:08 PM)LightDestory Wrote: Unfortunately I couldn't useĀ Post4VPS's benchmark script by @sohamb03 because it couldn't complete the test successfully. (....)
That's because the Australia end-point is dead, just comment it out in the script to skip it, as shown below:
Code: (Select All)
# Australia Speed Test
# slmel=$( wget -4 -O /dev/null http://speedtest.mel01.softlayer.com/downloads/test100.zip 2>&1 | awk '/\/dev\/null/ {speed=$3 $4} END {gsub(/\(|\)/,"",speed); print speed}' )
# echo "Melbourne, AU Softlayer $slmel " | tee -a $HOME/bench.log
@sohamb03 needs to look into this, as his end-point too is dead for awhile (even before the VPS loss.) which brings me to suggest for adding a timeout into the script which prevents this kind of recurring issues when any end-point is offline for whatever reason.