1. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

bench.sh Linux服务器测速脚本

本帖由 post2020-11-23 发布。版面名称:服务器论坛

  1. post

    post New Member

    注册:
    2019-10-24
    帖子:
    465
    主要用于国外网络环境测试.

    wget git.io/bench.sh



    Arguments: 参数

    -info - Check basic system information 检测基本信息
    -io - Run I/O test with or w/ cache 测试硬盘I/O速度
    -cdn - Check download speed from CDN 测试从CDN的下载速度
    -northamercia - Download speed from North America 测试从北美的下载速度
    -europe - Download speed from Europe 测试从欧洲的下载速度
    -asia - Download speed from asia 测试从亚洲的下载速度
    -a - Test and check all above things at once 一次性检查以上所有内容
    -b - System info, CDN speedtest and I/O test 检测基本信息, CDN测速, 硬盘I/O
    -ispeed - Install speedtest-cli (python 2.4-3.4 required) 安装speedtest-cli
    -speed - Check internet speed using speedtest-cli 用speedtest测速
    -about - Check about this script 关于这个脚本


    Parameters

    share - upload results (default to ubuntu paste) 分享到ubuntu
    Available option for share:
    ubuntu # upload results to ubuntu paste (default)
    haste # upload results to hastebin
    clbin # upload results to clbin
    ptpb # upload results to ptpb​

    实例

    wget git.io/bench.sh;bash bench.sh -a #测试所有项目
    wget git.io/bench.sh;bash bench.sh -info #查看系统信息
    wget git.io/bench.sh;bash bench.sh -io #测试硬盘读写速度
    wget git.io/bench.sh;bash bench.sh -asia #测试测试亚洲地区下载速度
    wget git.io/bench.sh;bash bench.sh -a share #测试所有项目并分享结果