Linux测评常用开源脚本

云服务器商的含糊表达,会·让你花大价钱买到他的劣质服务器,本文整理了一些Linux系统专用的shell脚本,用于测试服务器是否与服务商提供的一致。下面就是一些Linux测评常用的脚本,全部是开源的,并且有一键脚本,无需安装。

Linux服务器基准测试脚本yabs

这个脚本自动执行行业中较好的基准测试工具。其中包括几个测试,用于检查服务器关键区域的性能:使用fio测试磁盘性能,使用iperf3测试网络性能,使用Geekbench测试CPU/内存性能。该脚本设计为无需安装任何外部依赖项或提升权限即可运行。

curl -sL yabs.sh | bash

wget -qO- yabs.sh | bash
图片[1]-Linux测评常用开源脚本-王先生笔记

还支持参数功能,可前往开源平台查看具体操作

开源地址:https://github.com/masonr/yet-another-bench-script

一键测试脚本bench

显示各种系统信息;取自 Speedtest 世界多处的数据中心的测试点,网络带宽上行下行测速;IO测试硬盘读写速度(顺序写入 1GB 数据)三次,并显示其平均值

curl -Lso- bench.sh | bash

wget -qO- bench.sh | bash
图片[2]-Linux测评常用开源脚本-王先生笔记

脚本是英文的,你可以下载脚本翻译为中文再使用,前提是你会的话

开源地址:https://github.com/teddysun/across/blob/master/bench.sh

国内三网测速Superspeed

使用全国各地三大运营商的speedtest测速节点进行全面测速

bash <(curl -Lso- https://git.io/superspeed_uxh)

备用

bash <(curl -Lso- https://raw.githubusercontent.com/uxh/superspeed/master/superspeed.sh)
图片[3]-Linux测评常用开源脚本-王先生笔记

开源地址:https://github.com/uxh/superspeed

三网回程路由测试脚本backtrace

可以测出三网的回程线路

curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
图片[4]-Linux测评常用开源脚本-王先生笔记

开源地址:https://github.com/zhanghanyun/backtrace

回程路由测试脚本Besttrace

Besttrace一款轻量、简洁的 Linux 回程路由测试脚本,内置国际化(中/英文),支持四网回程路由测试(电信/联通/移动/教育网)

curl -LsO https://raw.githubusercontent.com/tomdiary/besttrace/main/main.sh; bash main.sh -l cn

wget --no-check-certificate https://raw.githubusercontent.com/tomdiary/besttrace/main/main.sh && chmod +x main.sh && ./main.sh -l cn
图片[5]-Linux测评常用开源脚本-王先生笔记

开源地址:https://github.com/tomdiary/besttrace

批量ping测试云服务器速度脚本Chores

如题,测试与几大云服务器商的ping速度

bash <(curl -sL ping.nuk.one)

bash <(wget -qO - ping.nuk.one)
图片[6]-Linux测评常用开源脚本-王先生笔记

开源地址:https://github.com/sedgwickz/chores

原文链接(非王先生笔记发布均为盗版):https://wxsnote.cn/4562.html

评论后可接收该文章的更新邮箱通知
友情赞助

如果你喜欢我的内容,可以赞助我哦!你的一点点心意,是我不断前进的动力!
温馨提示: 本文最后更新于2024-03-30 17:43:21,某些文章具有时效性,若有错误或已失效,请在下方留言或加入QQ群: 399019539 联系群主反馈。注意一些链接无法访问可能是你网络的原因,如Github,并非资源地址失效。
© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享
评论 抢沙发

请登录后发表评论

    请登录后查看评论内容

王先生笔记