Ping.pe这个是瓦工出品的丢包测试，可以看到各运营商的丢包数据Ping: cc.5var.com ping port dig Host: cc.5var.com, IP: 104.21.3.9 – ARIN /20 AS13335 CLOUDFLARENET, - United States, California, San Francisco [content_delivery_network] MAP Location ISP Loss Sent Last Avg Best Worst StDev MTR Chart Canada, BC, Vancouver Telus 0% 7 58.54 58.4 57.65 58.82 0.35 show Canada, BC, Vancouver Shaw 0% 7 43.49 44.02 42.36 46.69 1.28 show USA, CA, Fremont Hurricane FMT2 0% 7 161.68 161.7 161.53 162.11 0.18 ... USA, CA, Fremont Linode 0% 7 2.27 2.28 2.25 2.36 0.04 ... USA, CA, San Francisco Digital Ocean 0% 7 1.11 1.38 1.08 3.01 0.67 ... USA, CA, Los Angeles QuadraNET 0% 7 1.22 1.2 1.17 1.26 0.03 show USA, CA, Los Angeles Vultr 0% 7 1.25 2.04 1.13 5.11 1.33 ... USA, CA, Seattle Google 0% 7 24.8 25.06 24.8 25.78 0.31 ... USA, CO, Denver Cogent 0% 7 23.86 19.65 17.92 23.86 1.96 show USA, TX, Dallas Softlayer 0% 7 24.19 24.62 24.15 25.24 0.46 show USA, IL, Chicago Cogent 0% 7 3.23 3.66 2.7 7.74 1.68 show USA, GA, Atlanta 55 Marietta/RamNode 0% 7 14.42 14.89 14.42 15.06 0.2 show USA, VA, Vint Hill OVH 0% 7 2.17 2.21 2.16 2.33 0.06 ... USA, NY, New York Telehouse/RamNode 0% 7 2.18 2.17 2.15 2.18 0.01 show Canada, QC, Montreal OVH 0% 7 14.17 14.14 13.83 14.26 0.15 ... France, Paris Online.net 0% 7 16.66 16.7 16.64 16.94 0.1 ... Netherlands, Amsterdam Online.net 0% 6 1.19 1.17 1.15 1.19 0.01 ... Netherlands, Nuland WeservIT/RamNode 0% 7 3.24 3.24 3.21 3.26 0.02 show Norway, Sandefjord Terrahost 0% 6 23.93 23.75 23.47 23.93 0.18 ... Germany, Nuremberg Hetzner 0% 6 10.08 10.12 10 10.41 0.13 ... Italy, Milan Prometeus 0% 6 22.9 23.01 21.96 25.3 1.09 show Singapore Digital Ocean 0% 6 2.24 1.49 1.13 2.24 0.5 show Japan, Tokyo Vultr 0% 7 1.07 1.3 1.07 2.19 0.37 show Australia, Sydney Vultr 0% 6 11.11 11.18 11.11 11.29 0.06 show Taiwan, Taichung Google 0% 6 37.48 38.11 37.48 39.14 0.53 show China, Shenzhen Aliyun 0% 6 192.15 191.98 191.48 192.88 0.52 ... China, Beijing Aliyun 0% 6 159.14 159.19 158.93 159.69 0.28 ... China, Beijing Tencent 0% 6 159.91 160.05 159.86 160.36 0.17 ... China, Quanzhou China Telecom CN2 0% 6 58.96 58.8 58.7 58.96 0.08 ... China, Jiangsu China Mobile 0% 6 198.95 198.86 198.41 199.18 0.23 ... China, Jiangsu China Unicom 0% 6 180.1 180.02 179.59 180.21 0.21 ... China, Hangzhou Aliyun 0% 6 136.1 136 135.39 136.35 0.32 ... China, Qingdao Aliyun 0% 6 181.92 182.39 181.92 183.16 0.55 ... China, Shanghai Aliyun 0% 6 189.45 189.95 189.45 190.99 0.52 ... For best connectivity to/from China we recommend BandwagonHost.[Slow mode][Advanced mode][Save as image] Test started: Thu Mar 25 2021 04:51:24 GMT+0800 (中国标准时间)
Besttrace4Linux回程路由测试http://-IPIP.net出品特点Linux(X86/ARM)/Mac/BSD 系统环境下发起 traceroute 请求附带链路可视化兼容性强支持 JSON 格式使用#下载 wget http://cdn.ipip.net/17mon/besttrace4linux.zip #解压 unzip besttrace4linux.zip #授权 chmod +x besttrace #使用 ./besttrace -q 1 这里是目标IP 如果是64位系统则直接besttrace替换besttrace32演示
PrettyPing.shDenilsonsa大佬写的Ping脚本特点基本用途相当于 ping 命令附带了更美观精细地彩色图示使用wget https://raw.githubusercontent.com/denilsonsa/prettyping/master/prettyping mv prettyping /usr/local/bin chmod +x /usr/local/bin/prettyping prettyping 目标IP 演示
FunctionClub大佬作品，本程序检测的可分配内存指的是用户使用时最大能占用的内存量。特点检测VPS真实可分配内存，适用于检测VPS超售情况使用#CentOS / RHEL yum install wget -y yum groupinstall "Development Tools" -y wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp gcc -l stdc++ memtester.cpp ./a.out #Ubuntu / Debian apt-get update apt-get install wget build-essential -y wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp gcc -l stdc++ memtester.cpp ./a.out 演示
LemonBench工具(别名LBench、柠檬Bench)，是一款针对Linux服务器设计的服务器性能测试工具。通过综合测试，可以快速评估服务器的综合性能，为使用者提供服务器硬件配置信息。特点服务器基础信息(CPU信息/内存信息/Swap信息/磁盘空间信息等)Speedtest网速测试 (本地到最近源及国内各地域不同线路的网速)磁盘测试(4K块/1M块 直接写入测试)路由追踪测试(追踪到国内和海外不同线路的路由信息)Spoofer测试(获取详细网络信息，快速判断服务器接入线路)使用curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast 演示root@pr2:~# curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast #-----------------------------------------------------------# @ LemonBench Server Evaluation & Benchmark Ultility @ #-----------------------------------------------------------# @ Written by iLemonrain <ilemonrain@ilemonrain.com> @ @ My Blog: https://ilemonrain.com @ @ Telegram: https://t.me/ilemonrain @ @ Telegram (For +86 User): https://t.me/ilemonrain_chatbot @ @ Telegram Channel: https://t.me/ilemonrain_channel @ #-----------------------------------------------------------# Version: 20201005 Intl BetaVersion Reporting Bugs Via: https://t.me/ilemonrain 或 https://t.me/ilemonrain_chatbot (简体中文/繁體中文/English only) Thanks for using！ Usage (two way): (1) wget -O- https://ilemonrain.com/download/shell/LemonBench.sh | bash (2) curl -fsL https://ilemonrain.com/download/shell/LemonBench.sh | bash #-----------------------------------------------------------# @ LemonBench Server Evaluation & Benchmark Ultility @ #-----------------------------------------------------------# @ Written by iLemonrain <ilemonrain@ilemonrain.com> @ @ My Blog: https://ilemonrain.com @ @ Telegram: https://t.me/ilemonrain @ @ Telegram (For +86 User): https://t.me/ilemonrain_chatbot @ @ Telegram Channel: https://t.me/ilemonrain_channel @ #-----------------------------------------------------------# Version: 20201005 Intl BetaVersion Reporting Bugs Via: https://t.me/ilemonrain 或 https://t.me/ilemonrain_chatbot (简体中文/繁體中文/English only) Thanks for using！ Usage (two way): (1) wget -O- https://ilemonrain.com/download/shell/LemonBench.sh | bash (2) curl -fsL https://ilemonrain.com/download/shell/LemonBench.sh | bash [Info] Loaded Testmode:Fast Mode [Info] Initializing Running Enviorment, Please wait ... [Info] Checking Dependency ... [Warning] Virt-What Module not found, Installing ... Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease Hit:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease Hit:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease Hit:4 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease Hit:5 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done dmidecode is already the newest version (3.1-1ubuntu0.1). The following packages were automatically installed and are no longer required: amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2 linux-headers-4.15.0-139 linux-headers-4.15.0-139-generic linux-headers-generic thermald Use 'apt autoremove' to remove them. The following NEW packages will be installed: virt-what 0 upgraded, 1 newly installed, 0 to remove and 68 not upgraded. Need to get 14.7 kB of archives. After this operation, 39.9 kB of additional disk space will be used. Get:1 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 virt-what amd64 1.18-2 [14.7 kB] Fetched 14.7 kB in 1s (22.7 kB/s) Selecting previously unselected package virt-what. (Reading database ... 104738 files and directories currently installed.) Preparing to unpack .../virt-what_1.18-2_amd64.deb ... Unpacking virt-what (1.18-2) ... Setting up virt-what (1.18-2) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [Warning] JSON Query Module not found, Installing ... [Info] Installing Dependency ... Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease Hit:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease Hit:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease Hit:4 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease Hit:5 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2 linux-headers-4.15.0-139 linux-headers-4.15.0-139-generic linux-headers-generic thermald Use 'apt autoremove' to remove them. The following additional packages will be installed: libjq1 The following NEW packages will be installed: jq libjq1 0 upgraded, 2 newly installed, 0 to remove and 68 not upgraded. Need to get 157 kB of archives. After this operation, 407 kB of additional disk space will be used. Get:1 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 libjq1 amd64 1.5+dfsg-2 [111 kB] Get:2 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 jq amd64 1.5+dfsg-2 [45.6 kB] Fetched 157 kB in 1s (149 kB/s) Selecting previously unselected package libjq1:amd64. (Reading database ... 104744 files and directories currently installed.) Preparing to unpack .../libjq1_1.5+dfsg-2_amd64.deb ... Unpacking libjq1:amd64 (1.5+dfsg-2) ... Selecting previously unselected package jq. Preparing to unpack .../jq_1.5+dfsg-2_amd64.deb ... Unpacking jq (1.5+dfsg-2) ... Setting up libjq1:amd64 (1.5+dfsg-2) ... Setting up jq (1.5+dfsg-2) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [Warning] Speedtest Module not found, Installing ... [Info] Installing Dependency ... Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease Hit:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease Hit:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease Hit:4 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease Hit:5 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done curl is already the newest version (7.58.0-2ubuntu3.12). The following packages were automatically installed and are no longer required: amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2 linux-headers-4.15.0-139 linux-headers-4.15.0-139-generic linux-headers-generic thermald Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded. [Info] Installing Speedtest Module ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 904k 100 904k 0 0 1627k 0 --:--:-- --:--:-- --:--:-- 1624k [Info] Cleaning up ... [Warning] BestTrace Module not found, Installing ... [Info] Installing Dependency ... Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease Hit:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease Hit:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease Hit:4 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease Hit:5 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done ca-certificates is already the newest version (20210119~18.04.1). curl is already the newest version (7.58.0-2ubuntu3.12). unzip is already the newest version (6.0-21ubuntu1.1). wget is already the newest version (1.19.4-1ubuntu2.2). The following packages were automatically installed and are no longer required: amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2 linux-headers-4.15.0-139 linux-headers-4.15.0-139-generic linux-headers-generic thermald Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded. [Info] Downloading BestTrace Module ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4685k 100 4685k 0 0 3850k 0 0:00:01 0:00:01 --:--:-- 3846k [Info] Installing BestTrace Module ... [Info] Cleaning up ... [Warning] Sysbench Module not found, installing ... Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2 linux-headers-4.15.0-139 linux-headers-4.15.0-139-generic linux-headers-generic thermald Use 'apt autoremove' to remove them. The following additional packages will be installed: libluajit-5.1-2 libluajit-5.1-common libmysqlclient20 mysql-common The following NEW packages will be installed: libluajit-5.1-2 libluajit-5.1-common libmysqlclient20 mysql-common sysbench 0 upgraded, 5 newly installed, 0 to remove and 68 not upgraded. Need to get 1,069 kB of archives. After this operation, 5,108 kB of additional disk space will be used. Get:1 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 libluajit-5.1-common all 2.1.0~beta3+dfsg-5.1 [44.3 kB] Get:2 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 libluajit-5.1-2 amd64 2.1.0~beta3+dfsg-5.1 [227 kB] Get:3 http://mirrors.aliyun.com/ubuntu bionic/main amd64 mysql-common all 5.8+1.0.4 [7,308 B] Get:4 http://mirrors.aliyun.com/ubuntu bionic-security/main amd64 libmysqlclient20 amd64 5.7.33-0ubuntu0.18.04.1 [687 kB] Get:5 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 sysbench amd64 1.0.11+ds-1 [104 kB] Fetched 1,069 kB in 3s (370 kB/s) Selecting previously unselected package libluajit-5.1-common. (Reading database ... 104756 files and directories currently installed.) Preparing to unpack .../libluajit-5.1-common_2.1.0~beta3+dfsg-5.1_all.deb ... Unpacking libluajit-5.1-common (2.1.0~beta3+dfsg-5.1) ... Selecting previously unselected package libluajit-5.1-2:amd64. Preparing to unpack .../libluajit-5.1-2_2.1.0~beta3+dfsg-5.1_amd64.deb ... Unpacking libluajit-5.1-2:amd64 (2.1.0~beta3+dfsg-5.1) ... Selecting previously unselected package mysql-common. Preparing to unpack .../mysql-common_5.8+1.0.4_all.deb ... Unpacking mysql-common (5.8+1.0.4) ... Selecting previously unselected package libmysqlclient20:amd64. Preparing to unpack .../libmysqlclient20_5.7.33-0ubuntu0.18.04.1_amd64.deb ... Unpacking libmysqlclient20:amd64 (5.7.33-0ubuntu0.18.04.1) ... Selecting previously unselected package sysbench. Preparing to unpack .../sysbench_1.0.11+ds-1_amd64.deb ... Unpacking sysbench (1.0.11+ds-1) ... Setting up libluajit-5.1-common (2.1.0~beta3+dfsg-5.1) ... Setting up mysql-common (5.8+1.0.4) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up libluajit-5.1-2:amd64 (2.1.0~beta3+dfsg-5.1) ... Setting up libmysqlclient20:amd64 (5.7.33-0ubuntu0.18.04.1) ... Setting up sysbench (1.0.11+ds-1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [Info] Starting Test ... [Info] LemonBench Server Test Toolkit Build 20201005 Intl BetaVersion [Info] SystemInfo - Collecting System Information ... [Info] Collecting CPU Info ... [Info] Collecting Memory Info ... [Info] Collecting Virtualization Info ... [Info] Collecting System Info ... [Info] Collecting OS Release Info ... [Info] Collecting Disk Info ... [Info] Collecting Network Info ... [Info] Starting Test ... LemonBench Server Test Tookit 20201005 Intl BetaVersion (C)iLemonrain. All Rights Reserved. ========================================================================================== [Info] Bench Start Time: 2021-03-25 05:24:07 [Info] Test Mode: Fast Mode -> System Information OS Release: Ubuntu 18.04.5 LTS (Bionic Beaver) (x86_64) CPU Model: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz 2.60 GHz CPU Cache Size: 16384 KB CPU Number: 1 vCPU VirtReady: Yes (Nested Virtualization) Virt Type: KVM Memory Usage: 153.48 MB / 989.91 MB Swap Usage: 74.98 MB / 1024.00 MB Boot Device: /dev/vda2 Disk Usage: 7.31 GB / 20.57 GB CPU Usage: 1.9% used, 0.1% iowait, 0.5% steal Load (1/5/15min): 0.54 0.15 0.08 Uptime: 2 Days, 6 Hours, 18 Minutes, 59 Seconds Kernel Version: 4.11.8-041108-generic Network CC Method: cubic + fq_codel -> Network Infomation IPV4 - IP Address: [US] 192.161.51.250 IPV4 - ASN Info: AS8100 (ASN-QUADRANET-GLOBAL - QuadraNet Enterprises LLC, US) IPV4 - Region: United States California Los Angeles -> Media Unlock Test HBO Now: Yes Bahamut Anime: No Abema.TV: No Princess Connect Re:Dive Japan: No BBC: No BiliBili China Mainland Only: No BiliBili Hongkong/Macau/Taiwan: No Bilibili Taiwan Only: No -> CPU Performance Test (Fast Mode, 1-Pass @ 5sec) 1 Thread Test: 802 Scores -> Memory Performance Test (Fast Mode, 1-Pass @ 5sec) 1 Thread - Read Test : 15146.22 MB/s 1 Thread - Write Test: 10101.84 MB/s -> Disk Speed Test (4K Block/1M Block, Direct Mode) Test Name Write Speed Read Speed 100MB-4K Block 9.4 MB/s (2306 IOPS, 11.10s) 12.4 MB/s (3031 IOPS, 8.45s) 1GB-1M Block 408 MB/s (389 IOPS, 2.57s) 796 MB/s (759 IOPS, 1.32s) -> Speedtest.net Network Speed Test Node Name Upload Speed Download Speed Ping Latency Server Name Speedtest Default 74.01 MB/s 38.73 MB/s 25.54 ms Frontier (United States Los Angeles, CA) China, Beijing CU 21.95 MB/s 37.75 MB/s 170.10 ms Beijing Unicom (China Beijing) China, Shanghai CT 22.01 MB/s 10.10 MB/s 128.85 ms China Telecom (China Shanghai) China, Hangzhou CM Fail: Timeout Exceeded after 60 seconds -> Traceroute Test (IPV4) Traceroute to China, Beijing CU (TCP Mode, Max 30 Hop) ============================================================ traceroute to 123.125.99.1 (123.125.99.1), 30 hops max, 32 byte packets 1 10.0.41.1 0.30 ms * LAN Address 2 66.212.28.1 1.29 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.32 0.40 ms AS8100 United States, California, Los Angeles, quadranet.com 4 96.44.163.152 2.38 ms AS8100 United States, California, Los Angeles, quadranet.com 5 204.152.204.2 1.13 ms AS8100 United States, California, Los Angeles, quadranet.com 6 219.158.96.25 149.62 ms AS4837 China, ChinaUnicom 7 219.158.103.29 170.91 ms AS4837 China, ChinaUnicom 8 219.158.16.69 150.68 ms AS4837 China, ChinaUnicom 9 219.158.5.153 145.08 ms AS4837 China, ChinaUnicom 10 124.65.56.186 146.02 ms AS4808 China, Beijing, ChinaUnicom 11 61.148.158.106 145.10 ms AS4808 China, Beijing, ChinaUnicom 12 61.135.113.158 146.04 ms AS4808 China, Beijing, ChinaUnicom 13 61.148.158.106 174.46 ms AS4808 China, Beijing, ChinaUnicom 14 * 15 * 16 123.125.99.1 145.33 ms AS4808 China, Beijing, ChinaUnicom Traceroute to China, Beijing CT (TCP Mode, Max 30 Hop) ============================================================ traceroute to 180.149.128.9 (180.149.128.9), 30 hops max, 32 byte packets 1 10.0.41.1 0.32 ms * LAN Address 2 66.212.28.1 0.86 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.32 0.53 ms AS8100 United States, California, Los Angeles, quadranet.com 4 218.30.48.145 0.85 ms AS4134 United States, California, Los Angeles, ChinaTelecom 5 218.30.48.145 0.78 ms AS4134 United States, California, Los Angeles, ChinaTelecom 6 59.43.189.33 127.21 ms * China, ChinaTelecom 7 59.43.246.162 151.57 ms * China, ChinaTelecom 8 202.97.12.57 156.14 ms AS4134 China, ChinaTelecom 9 202.97.81.237 155.81 ms AS4134 China, ChinaTelecom 10 180.149.159.14 155.75 ms AS23724 China, Beijing, ChinaTelecom 11 180.149.159.14 154.03 ms AS23724 China, Beijing, ChinaTelecom 12 180.149.128.9 160.51 ms AS23724 China, Beijing, ChinaTelecom Traceroute to China, Beijing CM (TCP Mode, Max 30 Hop) ============================================================ traceroute to 211.136.25.153 (211.136.25.153), 30 hops max, 32 byte packets 1 10.0.41.1 0.50 ms * LAN Address 2 66.212.28.1 0.38 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.32 5.33 ms AS8100 United States, California, Los Angeles, quadranet.com 4 96.44.163.152 0.66 ms AS8100 United States, California, Los Angeles, quadranet.com 5 223.120.6.17 0.98 ms AS58453 China, ChinaMobile 6 * 7 * 8 * 9 * 10 111.24.2.249 192.80 ms AS9808 China, ChinaMobile 11 111.24.3.18 186.88 ms AS9808 China, ChinaMobile 12 211.136.66.121 192.97 ms AS56048 China, Beijing, ChinaMobile 13 * 14 211.136.95.226 204.70 ms AS56048 China, Beijing, ChinaMobile 15 * 16 211.136.95.226 187.66 ms AS56048 China, Beijing, ChinaMobile 17 * 18 211.136.25.153 194.35 ms AS56048 China, Beijing, ChinaMobile Traceroute to China, Shanghai CU (TCP Mode, Max 30 Hop) ============================================================ traceroute to 58.247.8.158 (58.247.8.158), 30 hops max, 32 byte packets 1 10.0.41.1 0.25 ms * LAN Address 2 66.212.28.1 0.95 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.32 0.44 ms AS8100 United States, California, Los Angeles, quadranet.com 4 204.152.204.2 1.30 ms AS8100 United States, California, Los Angeles, quadranet.com 5 204.152.204.2 1.16 ms AS8100 United States, California, Los Angeles, quadranet.com 6 219.158.96.233 158.20 ms AS4837 China, ChinaUnicom 7 219.158.98.17 153.83 ms AS4837 China, ChinaUnicom 8 219.158.8.141 174.26 ms AS4837 China, ChinaUnicom 9 219.158.19.90 179.07 ms AS4837 China, ChinaUnicom 10 219.158.8.242 177.52 ms AS4837 China, ChinaUnicom 11 139.226.231.106 176.36 ms AS17621 China, Shanghai, ChinaUnicom 12 139.226.225.22 171.01 ms AS17621 China, Shanghai, ChinaUnicom 13 58.247.8.153 197.79 ms AS17621 China, Shanghai, ChinaUnicom 14 * 15 * 16 * 17 * 18 * 19 * 20 * 21 * 22 * 23 * 24 * 25 * 26 * 27 * 28 * 29 * 30 * Traceroute to China, Shanghai CT (TCP Mode, Max 30 Hop) ============================================================ traceroute to 180.153.28.5 (180.153.28.5), 30 hops max, 32 byte packets 1 10.0.41.1 0.23 ms * LAN Address 2 66.212.28.1 0.41 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.32 0.88 ms AS8100 United States, California, Los Angeles, quadranet.com 4 96.44.163.153 1.18 ms AS8100 United States, California, Los Angeles, quadranet.com 5 218.30.48.145 1.24 ms AS4134 United States, California, Los Angeles, ChinaTelecom 6 59.43.182.89 127.77 ms * China, ChinaTelecom 7 * 8 202.97.57.146 130.52 ms AS4134 China, ChinaTelecom 9 202.97.57.146 135.87 ms AS4134 China, ChinaTelecom 10 * 11 101.95.225.222 135.11 ms AS4811 China, Shanghai, ChinaTelecom 12 101.227.255.46 132.54 ms AS4812 China, Shanghai, ChinaTelecom 13 180.153.28.5 130.74 ms AS4812 China, Shanghai, ChinaTelecom Traceroute to China, Shanghai CM (TCP Mode, Max 30 Hop) ============================================================ traceroute to 221.183.55.22 (221.183.55.22), 30 hops max, 32 byte packets 1 10.0.41.1 0.43 ms * LAN Address 2 66.212.28.1 2.12 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.34 0.46 ms AS8100 United States, California, Los Angeles, quadranet.com 4 223.119.64.245 0.98 ms AS58453 China, Hong Kong, ChinaMobile 5 223.120.6.17 5.57 ms AS58453 China, ChinaMobile 6 223.120.6.17 1.13 ms AS58453 China, ChinaMobile 7 221.183.55.22 190.52 ms AS9808 China, ChinaMobile Traceroute to China, Guangzhou CU (TCP Mode, Max 30 Hop) ============================================================ traceroute to 210.21.4.130 (210.21.4.130), 30 hops max, 32 byte packets 1 10.0.41.1 0.24 ms * LAN Address 2 66.212.28.1 2.00 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.34 5.54 ms AS8100 United States, California, Los Angeles, quadranet.com 4 96.44.163.152 0.53 ms AS8100 United States, California, Los Angeles, quadranet.com 5 207.254.191.42 8.00 ms AS19174 United States, California, Los Angeles, ChinaUnicom 6 219.158.96.25 148.09 ms AS4837 China, ChinaUnicom 7 219.158.98.61 154.19 ms AS4837 China, ChinaUnicom 8 219.158.3.29 145.09 ms AS4837 China, ChinaUnicom 9 219.158.4.169 151.16 ms AS4837 China, ChinaUnicom 10 120.83.0.58 168.79 ms AS17816 China, Guangdong, Guangzhou, ChinaUnicom 11 120.80.91.62 164.12 ms AS17816 China, Guangdong, ChinaUnicom 12 * 13 * 14 * 15 * 16 * 17 * 18 * 19 * 20 * 21 * 22 * 23 * 24 * 25 * 26 * 27 * 28 * 29 * 30 * Traceroute to China, Guangzhou CT (TCP Mode, Max 30 Hop) ============================================================ traceroute to 113.108.209.1 (113.108.209.1), 30 hops max, 32 byte packets 1 10.0.41.1 0.41 ms * LAN Address 2 66.212.28.1 0.53 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.32 0.57 ms AS8100 United States, California, Los Angeles, quadranet.com 4 96.44.163.153 1.27 ms AS8100 United States, California, Los Angeles, quadranet.com 5 218.30.48.145 0.90 ms AS4134 United States, California, Los Angeles, ChinaTelecom 6 59.43.245.30 152.48 ms * China, ChinaTelecom 7 59.43.244.134 153.55 ms * China, ChinaTelecom 8 202.97.94.137 161.69 ms AS4134 China, ChinaTelecom 9 202.97.94.137 159.22 ms AS4134 China, ChinaTelecom 10 113.108.209.1 153.22 ms AS58466 China, Guangdong, Guangzhou, ChinaTelecom Traceroute to China, Guangzhou CM (TCP Mode, Max 30 Hop) ============================================================ traceroute to 120.196.212.25 (120.196.212.25), 30 hops max, 32 byte packets 1 10.0.41.1 0.24 ms * LAN Address 2 66.212.28.1 0.41 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.34 0.50 ms AS8100 United States, California, Los Angeles, quadranet.com 4 96.44.163.152 0.69 ms AS8100 United States, California, Los Angeles, quadranet.com 5 223.119.64.245 1.08 ms AS58453 China, Hong Kong, ChinaMobile 6 223.120.6.17 0.93 ms AS58453 China, ChinaMobile 7 221.183.55.78 150.45 ms AS9808 China, ChinaMobile 8 * 9 221.183.52.85 166.46 ms AS9808 China, ChinaMobile 10 221.176.18.109 153.32 ms AS9808 China, ChinaMobile 11 * 12 111.24.5.222 160.28 ms AS9808 China, ChinaMobile 13 183.235.226.133 149.96 ms AS56040 China, Guangdong, Shenzhen, ChinaMobile 14 211.136.214.138 160.89 ms AS56040 China, Guangdong, Guangzhou, ChinaMobile 15 211.139.180.110 159.23 ms AS56040 China, Guangdong, Guangzhou, ChinaMobile 16 * 17 * 18 120.196.212.25 157.46 ms AS56040 China, Guangdong, Guangzhou, ChinaMobile Traceroute to China, Shanghai CU AS9929 (TCP Mode, Max 30 Hop) ============================================================ traceroute to 210.13.66.238 (210.13.66.238), 30 hops max, 32 byte packets 1 10.0.41.1 0.24 ms * LAN Address 2 66.212.28.1 1.03 ms AS8100 United States, California, Los Angeles, quadranet.com 3 96.44.175.32 0.41 ms AS8100 United States, California, Los Angeles, quadranet.com 4 204.152.204.2 1.30 ms AS8100 United States, California, Los Angeles, quadranet.com 5 59.43.189.33 127.66 ms * China, ChinaTelecom 6 59.43.244.118 130.47 ms Limit Exceeded! (frk@ipip.net) 7 219.158.39.222 154.15 ms Limit Exceeded! (frk@ipip.net) 8 202.97.57.146 132.33 ms Limit Exceeded! (frk@ipip.net) 9 202.97.46.66 130.48 ms Limit Exceeded! (frk@ipip.net) 10 218.105.2.210 170.72 ms Limit Exceeded! (frk@ipip.net) 11 * 12 210.13.66.237 191.16 ms Limit Exceeded! (frk@ipip.net) 13 210.13.75.138 179.03 ms Limit Exceeded! (frk@ipip.net) 14 210.13.66.238 195.24 ms Limit Exceeded! (frk@ipip.net) Traceroute to China, Shanghai CT CN2 (TCP Mode, Max 30 Hop) ============================================================ traceroute to 58.32.0.1 (58.32.0.1), 30 hops max, 32 byte packets 1 10.0.41.1 0.55 ms Limit Exceeded! (frk@ipip.net) 2 66.212.28.1 0.44 ms Limit Exceeded! (frk@ipip.net) 3 96.44.175.34 0.86 ms Limit Exceeded! (frk@ipip.net) 4 218.30.48.145 0.80 ms Limit Exceeded! (frk@ipip.net) 5 218.30.48.145 1.54 ms Limit Exceeded! (frk@ipip.net) 6 59.43.182.89 127.69 ms Limit Exceeded! (frk@ipip.net) 7 59.43.187.73 128.30 ms Limit Exceeded! (frk@ipip.net) 8 59.43.138.49 131.45 ms Limit Exceeded! (frk@ipip.net) 9 101.95.40.114 129.12 ms Limit Exceeded! (frk@ipip.net) 10 58.32.0.1 128.88 ms Limit Exceeded! (frk@ipip.net) Traceroute to China, Guangzhou CT CN2 Gaming Broadband (TCP Mode, Max 30 Hop) ============================================================ traceroute to 119.121.0.1 (119.121.0.1), 30 hops max, 32 byte packets 1 10.0.41.1 0.36 ms Limit Exceeded! (frk@ipip.net) 2 66.212.28.1 0.72 ms Limit Exceeded! (frk@ipip.net) 3 96.44.175.34 0.41 ms Limit Exceeded! (frk@ipip.net) 4 96.44.163.153 0.40 ms Limit Exceeded! (frk@ipip.net) 5 59.43.182.78 153.93 ms Limit Exceeded! (frk@ipip.net) 6 * 7 59.43.130.153 157.98 ms Limit Exceeded! (frk@ipip.net) 8 59.43.130.113 158.62 ms Limit Exceeded! (frk@ipip.net) 9 59.43.70.6 157.44 ms Limit Exceeded! (frk@ipip.net) 10 * 11 119.121.0.1 153.02 ms Limit Exceeded! (frk@ipip.net) Traceroute to China, Beijing Dr.Peng Home Network (TCP Mode, Max 30 Hop) ============================================================ traceroute to 14.131.128.1 (14.131.128.1), 30 hops max, 32 byte packets 1 10.0.41.1 0.35 ms Limit Exceeded! (frk@ipip.net) 2 66.212.28.1 0.53 ms Limit Exceeded! (frk@ipip.net) 3 96.44.175.34 5.24 ms Limit Exceeded! (frk@ipip.net) 4 204.152.204.2 1.15 ms Limit Exceeded! (frk@ipip.net) 5 207.254.191.102 4.09 ms Limit Exceeded! (frk@ipip.net) 6 219.158.98.17 153.36 ms Limit Exceeded! (frk@ipip.net) 7 219.158.103.33 165.17 ms Limit Exceeded! (frk@ipip.net) 8 * 9 * 10 * 11 202.106.192.6 178.87 ms Limit Exceeded! (frk@ipip.net) 12 * 13 * 14 * 15 * 16 * 17 * 18 * 19 * 20 * 21 * 22 * 23 * 24 * 25 * 26 * 27 * 28 * 29 * 30 * Traceroute to China, Beijing Dr.Peng Network IDC Network (TCP Mode, Max 30 Hop) ============================================================ traceroute to 211.167.230.100 (211.167.230.100), 30 hops max, 32 byte packets 1 10.0.41.1 0.26 ms Limit Exceeded! (frk@ipip.net) 2 66.212.28.1 8.52 ms Limit Exceeded! (frk@ipip.net) 3 96.44.175.32 0.43 ms Limit Exceeded! (frk@ipip.net) 4 96.44.163.152 0.40 ms Limit Exceeded! (frk@ipip.net) 5 207.254.191.125 7.27 ms Limit Exceeded! (frk@ipip.net) 6 219.158.16.93 146.46 ms Limit Exceeded! (frk@ipip.net) 7 219.158.16.69 154.09 ms Limit Exceeded! (frk@ipip.net) 8 219.158.8.121 158.21 ms Limit Exceeded! (frk@ipip.net) 9 219.158.8.121 164.89 ms Limit Exceeded! (frk@ipip.net) 10 124.65.194.158 169.79 ms Limit Exceeded! (frk@ipip.net) 11 61.51.37.206 188.00 ms Limit Exceeded! (frk@ipip.net) 12 * 13 218.241.244.2 167.53 ms Limit Exceeded! (frk@ipip.net) 14 218.241.253.134 148.31 ms Limit Exceeded! (frk@ipip.net) 15 218.241.253.130 151.15 ms Limit Exceeded! (frk@ipip.net) 16 218.241.253.130 170.42 ms Limit Exceeded! (frk@ipip.net) 17 211.167.230.100 147.83 ms Limit Exceeded! (frk@ipip.net) Traceroute to China, Beijing CERNET (TCP Mode, Max 30 Hop) ============================================================ traceroute to 202.205.109.205 (202.205.109.205), 30 hops max, 32 byte packets 1 10.0.41.1 0.18 ms Limit Exceeded! (frk@ipip.net) 2 66.212.28.1 5.37 ms Limit Exceeded! (frk@ipip.net) 3 96.44.175.34 7.33 ms Limit Exceeded! (frk@ipip.net) 4 204.152.204.2 1.30 ms Limit Exceeded! (frk@ipip.net) 5 59.43.189.41 149.34 ms Limit Exceeded! (frk@ipip.net) 6 219.158.16.93 147.28 ms Limit Exceeded! (frk@ipip.net) 7 * 8 202.97.94.149 157.76 ms Limit Exceeded! (frk@ipip.net) 9 202.97.18.221 157.54 ms Limit Exceeded! (frk@ipip.net) 10 * 11 211.102.30.15 168.45 ms Limit Exceeded! (frk@ipip.net) 12 101.4.117.229 150.71 ms Limit Exceeded! (frk@ipip.net) 13 202.112.61.69 158.08 ms Limit Exceeded! (frk@ipip.net) 14 101.4.117.33 173.08 ms Limit Exceeded! (frk@ipip.net) 15 101.4.116.118 175.44 ms Limit Exceeded! (frk@ipip.net) 16 * 17 101.4.112.1 172.84 ms Limit Exceeded! (frk@ipip.net) 18 101.4.113.110 172.82 ms Limit Exceeded! (frk@ipip.net) 19 202.112.38.82 175.25 ms Limit Exceeded! (frk@ipip.net) 20 202.205.109.205 175.88 ms Limit Exceeded! (frk@ipip.net) Traceroute to China, Beijing CSTNET (TCP Mode, Max 30 Hop) ============================================================ traceroute to 159.226.254.1 (159.226.254.1), 30 hops max, 32 byte packets 1 10.0.41.1 0.33 ms Limit Exceeded! (frk@ipip.net) 2 66.212.28.1 0.87 ms Limit Exceeded! (frk@ipip.net) 3 96.44.175.34 0.47 ms Limit Exceeded! (frk@ipip.net) 4 218.30.48.145 1.15 ms Limit Exceeded! (frk@ipip.net) 5 59.43.182.81 127.64 ms Limit Exceeded! (frk@ipip.net) 6 219.158.97.209 166.98 ms Limit Exceeded! (frk@ipip.net) 7 219.158.16.81 153.26 ms Limit Exceeded! (frk@ipip.net) 8 63.223.17.2 155.54 ms Limit Exceeded! (frk@ipip.net) 9 63.217.16.34 165.01 ms Limit Exceeded! (frk@ipip.net) 10 219.158.39.6 166.59 ms Limit Exceeded! (frk@ipip.net) 11 159.226.254.5 184.34 ms Limit Exceeded! (frk@ipip.net) 12 159.226.254.1 168.49 ms Limit Exceeded! (frk@ipip.net) Traceroute to China, Beijing GCable (TCP Mode, Max 30 Hop) ============================================================ traceroute to 211.156.140.17 (211.156.140.17), 30 hops max, 32 byte packets 1 10.0.41.1 0.41 ms Limit Exceeded! (frk@ipip.net) 2 66.212.28.1 5.37 ms Limit Exceeded! (frk@ipip.net) 3 96.44.175.34 3.68 ms Limit Exceeded! (frk@ipip.net) 4 218.30.48.145 0.94 ms Limit Exceeded! (frk@ipip.net) 5 59.43.182.81 127.61 ms Limit Exceeded! (frk@ipip.net) 6 219.158.96.29 163.15 ms Limit Exceeded! (frk@ipip.net) 7 219.158.24.137 158.80 ms Limit Exceeded! (frk@ipip.net) 8 202.97.12.49 153.38 ms Limit Exceeded! (frk@ipip.net) 9 202.97.18.205 159.71 ms Limit Exceeded! (frk@ipip.net) 10 219.141.142.117 154.29 ms Limit Exceeded! (frk@ipip.net) 11 * 12 211.156.128.97 148.21 ms Limit Exceeded! (frk@ipip.net) 13 211.156.140.17 145.34 ms Limit Exceeded! (frk@ipip.net) ========================================================================================== [Info] Bench Finish Time: 2021-03-25 05:28:39 [Info] Time Elapsed: 272 seconds [Info] Please wait, collecting results ... [Info] Generating Report ... [Info] Saving local Report ... [Info] Generating Report URL ... [Success] Report Generate Success！Please save the follwing link: [Info] Report URL: https://paste.ubuntu.com/p/xmdrGcMxKn/
秋水逸冰大佬的作品，UnixBench是一个类unix系（Unix，BSD，Linux）统下的性能测试工具，一个开源工具，被广泛用与测试Linux系统主机的性能。Unixbench的主要测试项目有：系统调用、读写、进程、图形化测试、2D、3D、管道、运算、C库等系统基准性能提供测试数据。特点自动安装UnixBench和测试脚本系统调用、读写、进程、图形化测试、2D、3D、管道、运算、C库等系统基准性能使用wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh chmod +x unixbench.sh ./unixbench.sh演示root@pr2:~# wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh --2021-03-25 03:44:56-- https://github.com/teddysun/across/raw/master/unixbench.sh Resolving github.com (github.com)... 192.30.255.113 Connecting to github.com (github.com)|192.30.255.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/teddysun/across/master/unixbench.sh [following] --2021-03-25 03:44:56-- https://raw.githubusercontent.com/teddysun/across/master/unixbench.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1560 (1.5K) [text/plain] Saving to: ‘unixbench.sh’ unixbench.sh 100%[================================================================================>] 1.52K --.-KB/s in 0s 2021-03-25 03:44:57 (12.4 MB/s) - ‘unixbench.sh’ saved [1560/1560] root@pr2:~# chmod +x unixbench.sh root@pr2:~# ./unixbench.sh Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease Get:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease [88.7 kB] Get:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease [242 kB] Get:5 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease [74.6 kB] Get:6 http://mirrors.aliyun.com/ubuntu bionic-security/main Sources [248 kB] Get:7 http://mirrors.aliyun.com/ubuntu bionic-security/restricted Sources [15.7 kB] Get:8 http://mirrors.aliyun.com/ubuntu bionic-security/universe Sources [277 kB] Get:9 http://mirrors.aliyun.com/ubuntu bionic-security/main amd64 Packages [1,627 kB] Get:10 http://mirrors.aliyun.com/ubuntu bionic-security/main Translation-en [309 kB] Get:11 http://mirrors.aliyun.com/ubuntu bionic-security/restricted amd64 Packages [261 kB] Get:12 http://mirrors.aliyun.com/ubuntu bionic-security/restricted Translation-en [34.1 kB] Get:13 http://mirrors.aliyun.com/ubuntu bionic-security/universe amd64 Packages [1,116 kB] Get:14 http://mirrors.aliyun.com/ubuntu bionic-security/universe Translation-en [250 kB] Get:15 http://mirrors.aliyun.com/ubuntu bionic-updates/restricted Sources [18.5 kB] Get:16 http://mirrors.aliyun.com/ubuntu bionic-updates/main Sources [506 kB] Get:17 http://mirrors.aliyun.com/ubuntu bionic-updates/universe Sources [448 kB] Get:18 http://mirrors.aliyun.com/ubuntu bionic-updates/main amd64 Packages [1,967 kB] Get:19 http://mirrors.aliyun.com/ubuntu bionic-updates/main Translation-en [400 kB] Get:20 http://mirrors.aliyun.com/ubuntu bionic-updates/restricted amd64 Packages [282 kB] Get:21 http://mirrors.aliyun.com/ubuntu bionic-updates/restricted Translation-en [37.7 kB] Get:22 http://mirrors.aliyun.com/ubuntu bionic-updates/universe amd64 Packages [1,723 kB] Get:23 http://mirrors.aliyun.com/ubuntu bionic-updates/universe Translation-en [365 kB] Get:24 http://mirrors.aliyun.com/ubuntu bionic-proposed/main Sources [92.5 kB] Get:25 http://mirrors.aliyun.com/ubuntu bionic-proposed/main amd64 Packages [152 kB] Get:26 http://mirrors.aliyun.com/ubuntu bionic-proposed/main Translation-en [36.3 kB] Get:27 http://mirrors.aliyun.com/ubuntu bionic-proposed/universe amd64 Packages [26.5 kB] Get:28 http://mirrors.aliyun.com/ubuntu bionic-proposed/universe Translation-en [12.3 kB] Fetched 10.7 MB in 4s (2,507 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done autoconf is already the newest version (2.69-11). automake is already the newest version (1:1.15.1-3ubuntu2). make is already the newest version (4.1-9.1ubuntu1). time is already the newest version (1.7-25.1build1). gcc is already the newest version (4:7.4.0-1ubuntu2.3). perl is already the newest version (5.26.1-6ubuntu0.5). perl set to manually installed. The following packages were automatically installed and are no longer required: amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2 linux-headers-4.15.0-139 linux-headers-4.15.0-139-generic linux-headers-generic thermald Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded. UnixBench5.1.3.tgz not found!!!download now... --2021-03-25 03:45:16-- https://dl.lamp.sh/files/UnixBench5.1.3.tgz Resolving dl.lamp.sh (dl.lamp.sh)... 104.21.78.187, 172.67.168.88, 2606:4700:3035::ac43:a858, ... Connecting to dl.lamp.sh (dl.lamp.sh)|104.21.78.187|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: ‘UnixBench5.1.3.tgz’ UnixBench5.1.3.tgz [ <=> ] 139.90K 270KB/s in 0.5s 2021-03-25 03:45:17 (270 KB/s) - ‘UnixBench5.1.3.tgz’ saved [143259] UnixBench/ UnixBench/README UnixBench/src/ UnixBench/src/looper.c UnixBench/src/time-polling.c UnixBench/src/arith.c UnixBench/src/hanoi.c UnixBench/src/timeit.c UnixBench/src/dhry_1.c UnixBench/src/dhry.h UnixBench/src/dhry_2.c UnixBench/src/fstime.c UnixBench/src/syscall.c UnixBench/src/execl.c UnixBench/src/context1.c UnixBench/src/whets.c UnixBench/src/dummy.c UnixBench/src/big.c UnixBench/src/spawn.c UnixBench/src/pipe.c UnixBench/src/ubgears.c UnixBench/pgms/ UnixBench/pgms/index.base UnixBench/pgms/gfx-x11 UnixBench/pgms/multi.sh UnixBench/pgms/unixbench.logo UnixBench/pgms/tst.sh UnixBench/WRITING_TESTS UnixBench/.project UnixBench/Run UnixBench/testdir/ UnixBench/testdir/sort.src UnixBench/testdir/cctest.c UnixBench/testdir/dc.dat UnixBench/testdir/large.txt UnixBench/.cproject UnixBench/results/ UnixBench/Makefile UnixBench/USAGE Checking distribution of files ./pgms exists ./src exists ./testdir exists ./results exists gcc -o ./pgms/arithoh -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Darithoh ./src/arith.c gcc -o ./pgms/register -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum='register int' ./src/arith.c gcc -o ./pgms/short -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=short ./src/arith.c gcc -o ./pgms/int -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=int ./src/arith.c gcc -o ./pgms/long -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=long ./src/arith.c gcc -o ./pgms/float -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=float ./src/arith.c gcc -o ./pgms/double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=double ./src/arith.c gcc -o ./pgms/hanoi -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/hanoi.c gcc -o ./pgms/syscall -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/syscall.c ./src/syscall.c: In function ‘main’: ./src/syscall.c:93:21: warning: null argument where non-null required (argument 2) [-Wnonnull] execl("/bin/true", (char *) 0); ^~~~~ gcc -o ./pgms/context1 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/context1.c gcc -o ./pgms/pipe -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/pipe.c ./src/pipe.c: In function ‘main’: ./src/pipe.c:52:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] pipe(pvec); ^~~~~~~~~~ gcc -o ./pgms/spawn -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/spawn.c gcc -o ./pgms/execl -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/execl.c In file included from ./src/execl.c:34:0: ./src/big.c: In function ‘getwork’: ./src/big.c:452:11: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] char c; ^ ./src/big.c: In function ‘fatal’: ./src/big.c:586:5: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(stderr, s); ^~~~~~~ ./src/big.c: In function ‘dummy’: ./src/big.c:112:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("masterlog.00", "a", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/big.c:200:6: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(logname, "w", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/big.c:224:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] dup(pvec[0]); ^~~~~~~~~~~~ ./src/big.c:228:6: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(logname, "w", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/big.c:321:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fcopy, cp->line, p - cp->line + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/big.c:199:34: warning: ‘%02d’ directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=] sprintf(logname, "masterlog.%02d", firstuser/MAXCHILD); ^~~~ ./src/big.c:199:23: note: directive argument in the range [-178956970, 178956970] sprintf(logname, "masterlog.%02d", firstuser/MAXCHILD); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from ./src/execl.c:25: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 13 and 21 bytes into a destination of size 15 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_1.c cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_2.c gcc -o ./pgms/dhry2 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/dhry_1.o ./src/dhry_2.o cd ./src; rm -f dhry_1.o dhry_2.o cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_1.c -o dhry_1_reg.o cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_2.c -o dhry_2_reg.o gcc -o ./pgms/dhry2reg -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/dhry_1_reg.o ./src/dhry_2_reg.o cd ./src; rm -f dhry_1_reg.o dhry_2_reg.o gcc -o ./pgms/looper -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/looper.c gcc -o ./pgms/fstime -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/fstime.c gcc -o ./pgms/whetstone-double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -DDP -DUNIX -DUNIXBENCH ./src/whets.c -lm make all make[1]: Entering directory '/opt/unixbench/UnixBench' Checking distribution of files ./pgms exists ./src exists ./testdir exists ./tmp exists ./results exists make[1]: Leaving directory '/opt/unixbench/UnixBench' sh: 1: 3dinfo: not found # # # # # # # ##### ###### # # #### # # # # ## # # # # # # # ## # # # # # # # # # # # ## ##### ##### # # # # ###### # # # # # # ## # # # # # # # # # # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # # Version 5.1.3 Based on the Byte Magazine Unix Benchmark Multi-CPU version Version 5 revisions by Ian Smith, Sunnyvale, CA, USA January 13, 2011 johantheghost at yahoo period com 1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 1 x Execl Throughput 1 2 3 1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 1 x File Copy 256 bufsize 500 maxblocks 1 2 3 1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 1 x Process Creation 1 2 3 1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 1 x Shell Scripts (1 concurrent) 1 2 3 1 x Shell Scripts (8 concurrent) 1 2 3 ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: pr2.5var.com: GNU/Linux OS: GNU/Linux -- 4.11.8-041108-generic -- #201706290836 SMP Thu Jun 29 12:38:45 UTC 2017 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5200.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization 03:45:20 up 2 days, 4:40, 2 users, load average: 0.35, 0.18, 0.10; runlevel 5 ------------------------------------------------------------------------ Benchmark Run: Thu Mar 25 2021 03:45:20 - 04:13:29 1 CPU in system; running 1 parallel copy of tests Dhrystone 2 using register variables 29489596.2 lps (10.0 s, 7 samples) Double-Precision Whetstone 4058.0 MWIPS (9.9 s, 7 samples) Execl Throughput 3397.3 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 760398.7 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 232625.7 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1571524.4 KBps (30.0 s, 2 samples) Pipe Throughput 1922277.8 lps (10.0 s, 7 samples) Pipe-based Context Switching 220083.6 lps (10.0 s, 7 samples) Process Creation 9371.5 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 6539.0 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 833.4 lpm (60.0 s, 2 samples) System Call Overhead 3046579.9 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 29489596.2 2527.0 Double-Precision Whetstone 55.0 4058.0 737.8 Execl Throughput 43.0 3397.3 790.1 File Copy 1024 bufsize 2000 maxblocks 3960.0 760398.7 1920.2 File Copy 256 bufsize 500 maxblocks 1655.0 232625.7 1405.6 File Copy 4096 bufsize 8000 maxblocks 5800.0 1571524.4 2709.5 Pipe Throughput 12440.0 1922277.8 1545.2 Pipe-based Context Switching 4000.0 220083.6 550.2 Process Creation 126.0 9371.5 743.8 Shell Scripts (1 concurrent) 42.4 6539.0 1542.2 Shell Scripts (8 concurrent) 6.0 833.4 1389.1 System Call Overhead 15000.0 3046579.9 2031.1 ======== System Benchmarks Index Score 1326.3 ======= Script description and score comparison completed! =======
SuperBench.sh老鬼大佬的SuperBench测试脚本特点改进了显示的模式，基本参数添加了颜色，方面区分与查找。I/O测试，更改了原来默认的测试的内容，采用小文件，中等文件，大文件，分别测试IO性能，然后取平均值。速度测试替换成了 Superspeed 里面的测试，第一个默认节点是，Speedtest 默认，其他分别测试到中国电信，联通，移动，各三个不同地区的速度。wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash #或者 curl -Lso- -no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superb 演示root@pr2:~# wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash ========================================================= \ Superbench.sh Script / \ Basic system info, I/O test and speedtest / \ v1.1.7 (7 Apr 2020) / \ Created by Oldking / ========================================================= Intro: https://www.oldking.net/350.html Copyright (C) 2020 Oldking oooldking@gmail.com Installing Speedtest-cli ... Installing tools.py ... Installing Fast.com-cli ... ---------------------------------------------------------------------- Superbench.sh -- https://www.oldking.net/350.html Mode : Standard Version : 1.1.7 Usage : wget -qO- sb.oldking.net | bash ---------------------------------------------------------------------- CPU Model : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz CPU Cores : 1 Cores 2599.998 MHz x86_64 CPU Cache : 16384 KB OS : Ubuntu 18.04.5 LTS (64 Bit) KVM Kernel : 4.11.8-041108-generic Total Space : 6.8 GB / 20.0 GB Total RAM : 213 MB / 989 MB (325 MB Buff) Total SWAP : 0 MB / 1023 MB Uptime : 2 days 4 hour 27 min Load Average : 0.00, 0.00, 0.00 TCP CC : cubic ASN & ISP : AS8100, QuadraNet Enterprises LLC Organization : Location : Los Angeles, United States / US Region : California ---------------------------------------------------------------------- I/O Speed( 1.0GB ) : 195 MB/s I/O Speed( 1.0GB ) : 201 MB/s I/O Speed( 1.0GB ) : 207 MB/s Average I/O Speed : 201.0 MB/s ---------------------------------------------------------------------- Node Name Upload Speed Download Speed Latency Speedtest.net 629.39 Mbit/s 290.19 Mbit/s 25.41 ms Fast.com 0.00 Mbit/s 183.1 Mbit/s - Nanjing 5G CT 536.07 Mbit/s 273.13 Mbit/s 133.74 ms Hefei 5G CT 353.85 Mbit/s 94.47 Mbit/s 137.12 ms Guangzhou 5G CT 272.83 Mbit/s 129.95 Mbit/s 157.85 ms TianJin 5G CU 209.40 Mbit/s 86.60 Mbit/s 167.56 ms Shanghai 5G CU 262.43 Mbit/s 111.74 Mbit/s 176.66 ms Guangzhou 5G CU 304.62 Mbit/s 27.39 Mbit/s 170.69 ms Tianjin 5G CM 176.95 Mbit/s 146.24 Mbit/s 192.81 ms Wuxi 5G CM 310.76 Mbit/s 29.21 Mbit/s 200.78 ms Nanjing 5G CM 514.65 Mbit/s 106.62 Mbit/s 200.93 ms Hefei 5G CM 345.04 Mbit/s 207.51 Mbit/s 182.67 ms Changsha 5G CM 353.38 Mbit/s 279.91 Mbit/s 166.95 ms ---------------------------------------------------------------------- Finished in : 6 min 40 sec Timestamp : 2021-03-25 03:39:47 GMT+8 Results : ./superbench.log ---------------------------------------------------------------------- Share result: · https://www.speedtest.net/result/c/9c54fd5d-1a59-422e-a9eb-aabd6d6a0790 · https://paste.ubuntu.com/p/zRcR7vKX3M/----------------------------------------------------------------------
mPing.shMr.zou大佬写的脚本特点方便测试回程Ping值目前支持众多区域和各大运营商使用wget https://raw.githubusercontent.com/helloxz/mping/master/mping.sh bash mping.sh 演示
Yabs.sh此脚本已在以下 Linux 分布上进行了测试：CentOS 6+、Debian 8+、Fedora 30 和 Ubuntu 16.04+。它旨在不要求安装任何外部依赖项，也不需要提升特权来运行。本地 fio/iperf3 包：如果测试系统已安装 fio 和/或 iperf3，则本地包将优先于预编二进制。高带宽使用通知：默认情况下，此脚本将执行许多 iperf 网络测试，这些测试将尝试将网络端口最大化为每个位置 20 英镑（每个方向为 10 秒）。低带宽服务器（如 NAT VPS）应考虑使用标记（用于减少 iperf 位置）或标记（完全禁用网络测试）运行此脚本。-r-ifio - 可用的最全面的 I/O 测试软件，fio 授予以各种方法评估磁盘性能的能力，并具有多种选项。作为此脚本的一部分，将进行四个随机读写 fio 磁盘测试，其大小为 4k、64k、512k 和 1m 块大小。测试旨在评估近现实世界中的磁盘吞吐量（使用随机）场景，分为 50/50（每次测试 50% 读取和书写 50%）。iperf3 - 测试下载和上传速度到不同地点的行业标准。此脚本使用 iperf3 与 8 个平行线程，并测试下载和上传速度。如果 iperf 服务器在 10 次尝试后很忙，则跳过该位置/方向的速度测试。极客表- 极客台是衡量系统性能的基准计划，在技术界广泛使用。显示 Web URL 能够看到完整的测试和个人基准结果，并允许与其他极客表系统进行比较。将极客台结果添加到极客台配置文件的索赔 URL 已写入此脚本执行的目录中的文件。默认情况下，极客台 5 是唯一执行的极客台测试，但是，极客台 4 也可以通过传递相应的标志来切换。此脚本不是成为黄金标准的尝试。包括几个测试如何运行curl -sL yabs.sh | bash 或 wget -qO- yabs.sh | bash 默认情况下，脚本运行下面下一节中描述的所有三个测试。如果您想跳过一项或多项测试，请使用以下命令：curl -sL yabs.sh | bash -s -- -{fdighr49} -f/-d此选项禁用fio（磁盘性能）测试 -i此选项禁用iperf（网络性能）测试 -g此选项禁用极客表（系统性能）测试 -h此选项打印使用、检测到的标记和本地包 （fio/iperf） 状态的帮助消息 -r此选项可减少 iperf 位置（Online.net/Clouvider LON+NYC）的数量，以减少带宽使用 -4此选项覆盖极客座 5 性能测试，而是运行极客表 4 测试 -9此选项运行极客支座 4 测试以及极客座 5 测试 选项可以组合在一起跳过多个测试，即 跳过磁盘和系统性能测试（实际上仅测试网络性能）。-fg 演示root@pr2:~# curl -sL yabs.sh | bash # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # # Yet-Another-Bench-Script # # v2020-12-29 # # https://github.com/masonr/yet-another-bench-script # # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # Thu Mar 25 04:19:18 CST 2021 Basic System Information: --------------------------------- Processor : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz CPU cores : 1 @ 2599.998 MHz AES-NI : ✔ Enabled VM-x/AMD-V : ✔ Enabled RAM : 989.9 MiB Swap : 1024.0 MiB Disk : 19.6 GiB fio Disk Speed Tests (Mixed R/W 50/50): --------------------------------- Block Size | 4k (IOPS) | 64k (IOPS) ------ | --- ---- | ---- ---- Read | 103.53 MB/s (25.8k) | 479.95 MB/s (7.4k) Write | 103.81 MB/s (25.9k) | 482.48 MB/s (7.5k) Total | 207.35 MB/s (51.8k) | 962.43 MB/s (15.0k) | | Block Size | 512k (IOPS) | 1m (IOPS) ------ | --- ---- | ---- ---- Read | 672.00 MB/s (1.3k) | 709.39 MB/s (692) Write | 707.70 MB/s (1.3k) | 756.63 MB/s (738) Total | 1.37 GB/s (2.6k) | 1.46 GB/s (1.4k) iperf3 Network Speed Tests (IPv4): --------------------------------- Provider | Location (Link) | Send Speed | Recv Speed | | | Clouvider | London, UK (10G) | 429 Mbits/sec | 134 Mbits/sec Online.net | Paris, FR (10G) | 396 Mbits/sec | 32.6 Mbits/sec WorldStream | The Netherlands (10G) | busy | 260 Mbits/sec Biznet | Jakarta, Indonesia (1G) | 503 Mbits/sec | 75.0 Mbits/sec Clouvider | NYC, NY, US (10G) | 467 Mbits/sec | 168 Mbits/sec Velocity Online | Tallahassee, FL, US (10G) | 501 Mbits/sec | 223 Mbits/sec Clouvider | Los Angeles, CA, US (10G) | 458 Mbits/sec | 518 Mbits/sec Iveloz Telecom | Sao Paulo, BR (2G) | 307 Mbits/sec | 31.0 Mbits/sec Geekbench 5 Benchmark Test: --------------------------------- Test | Value | Single Core | 468 Multi Core | 493 Full Test | https://browser.geekbench.com/v5/cpu/7105747