服务器配置与部署

常用的服务器测试脚本

JACIN··2 分钟阅读

测试国际互联:

text
bash <(wget -qO- https://raw.githubusercontent.com/Cd1s/network-latency-tester/main/latency.sh)

综合测试机子性能:

text
bash <(wget -qO- https://raw.githubusercontent.com/spiritLHLS/ecs/main/ecs.sh)

nodequality 测试 nq 测试,因为比较吃内存,所以建议放在 nohup 允许

text
nohup bash -c "yes | bash <(curl -sL https://run.NodeQuality.com)" > nq.log 2>&1 &
选择 一个 yes:
nohup bash -c "(echo 'y'; yes n) | bash <(curl -sL https://run.NodeQuality.com)" > nq.log 2>&1 &

测速,测试 tcp 链接:

text
curl -w "\nDNS解析: %{time_namelookup}\nTCP连接: %{time_connect}\nTLS握手: %{time_appconnect}\n首包 时间: %{time_starttransfer}\n总时间: %{time_total}\n" -o /dev/null -s https://baidu.com

流媒体检测

text
bash <(curl -L -s check.unlock.media) -M 4

检测 ip:

text
bash <(curl -sL Check.Place) -I

安装 nexttrace

text
curl -sL nxtrace.org/nt | bash

评论

还没有评论,来发第一个吧