您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

linux测速工具speedtest-cli怎么使用

2024/5/11 18:00:04发布23次查看
安装speedtest-cli:
wget -o speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.pychmod
开始测试:
./speedtest-cli
[root@localhost ~]# ./speedtest-cli retrieving speedtest.net configuration...testing from china unicom liaoning (122.97.178.118)...retrieving speedtest.net server list...selecting best server based on ping...hosted by shanghai huajuan information technology co., ltd. (hong kong) [15.42 km]: 140.576 mstesting download speed................................................................................download: 42.58 mbit/stesting upload speed......................................................................................................upload: 17.13 mbit/s
github地址:
https://github.com/sivel/speedtest-cli
usage:$ speedtest-cli -husage: speedtest-cli [-h] [--no-download] [--no-upload] [--single] [--bytes]                     [--share] [--simple] [--csv]                     [--csv-delimiter csv_delimiter] [--csv-header] [--json]                     [--list] [--server server] [--exclude exclude]                     [--mini mini] [--source source] [--timeout timeout]                     [--secure] [--no-pre-allocate] [--version]command line interface for testing internet bandwidth using speedtest.net.--------------------------------------------------------------------------https://github.com/sivel/speedtest-clioptional arguments:  -h, --help            show this help message and exit  --no-download         do not perform download test  --no-upload           do not perform upload test  --single              only use a single connection instead of multiple. this                        simulates a typical file transfer.  --bytes               display values in bytes instead of bits. does not                        affect the image generated by --share, nor output from                        --json or --csv  --share               generate and provide a url to the speedtest.net share                        results image, not displayed with --csv  --simple              suppress verbose output, only show basic information  --csv                 suppress verbose output, only show basic information                        in csv format. speeds listed in bit/s and not affected                        by --bytes  --csv-delimiter csv_delimiter                        single character delimiter to use in csv output.                        default ,  --csv-header          print csv headers  --json                suppress verbose output, only show basic information                        in json format. speeds listed in bit/s and not                        affected by --bytes  --list                display a list of speedtest.net servers sorted by                        distance  --server server       specify a server id to test against. can be supplied                        multiple times  --exclude exclude     exclude a server from selection. can be supplied                        multiple times  --mini mini           url of the speedtest mini server  --source source       source ip address to bind to  --timeout timeout     http timeout in seconds. default 10  --secure              use https instead of http when communicating with                        speedtest.net operated servers  --no-pre-allocate     do not pre allocate upload data. pre allocation is                        enabled by default to improve upload performance. to                        support systems with insufficient memory, use this                        option to avoid a memoryerror  --version             show the version number and exit
以上就是linux测速工具speedtest-cli怎么使用的详细内容。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product