mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2025-01-15 01:35:22 +00:00
Update Nlbench_pro.sh
This commit is contained in:
parent
4e4927f100
commit
7040d68e70
@ -140,7 +140,8 @@ run_script() {
|
|||||||
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_ip_quality"
|
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_ip_quality"
|
||||||
;;
|
;;
|
||||||
4)
|
4)
|
||||||
bash <(curl -L -s media.ispvps.com) > "$temp_file" 2>&1
|
local region=$(detect_region)
|
||||||
|
bash <(curl -L -s media.ispvps.com) <<< "$region" > "$temp_file" 2>&1
|
||||||
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_streaming"
|
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_streaming"
|
||||||
;;
|
;;
|
||||||
5)
|
5)
|
||||||
@ -148,15 +149,15 @@ run_script() {
|
|||||||
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_response"
|
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_response"
|
||||||
;;
|
;;
|
||||||
6)
|
6)
|
||||||
bash <(curl -sL bash.icu/speedtest) > "$temp_file" 2>&1
|
bash <(curl -sL bash.icu/speedtest) <<< "1" > "$temp_file" 2>&1
|
||||||
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_multi_thread"
|
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_multi_thread"
|
||||||
;;
|
;;
|
||||||
7)
|
7)
|
||||||
bash <(curl -sL bash.icu/speedtest) > "$temp_file" 2>&1
|
bash <(curl -sL bash.icu/speedtest) <<< "2" > "$temp_file" 2>&1
|
||||||
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_single_thread"
|
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_single_thread"
|
||||||
;;
|
;;
|
||||||
8)
|
8)
|
||||||
wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh > "$temp_file" 2>&1
|
wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh <<< "1" > "$temp_file" 2>&1
|
||||||
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_route"
|
sed 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_route"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user