Ubuntu、CentOS、macOS测试服务器上传和下载速度
生活随笔
收集整理的這篇文章主要介紹了
Ubuntu、CentOS、macOS测试服务器上传和下载速度
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
導讀
通過speedtest我們可以方便的電腦的上傳和下載速度。除此之外,我們還可以通過speedtest-cli來測試網速。
macOS
brew tap teamookla/speedtest brew update # Example how to remove conflicting or old versions using brew # brew uninstall speedtest --force brew install speedtest --forceUbuntu
## If migrating from prior bintray install instructions please first... # sudo rm /etc/apt/sources.list.d/speedtest.list # sudo apt-get update # sudo apt-get remove speedtest ## Other non-official binaries will conflict with Speedtest CLI # Example how to remove using apt-get # sudo apt-get remove speedtest-cli curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash sudo apt-get install speedtestcentOS
## If migrating from prior bintray install instructions please first... # sudo rm /etc/yum.repos.d/bintray-ookla-rhel.repo # sudo yum remove speedtest ## Other non-official binaries will conflict with Speedtest CLI # Example how to remove using yum # rpm -qa | grep speedtest | xargs -I {} sudo yum -y remove {} curl -s https://install.speedtest.net/app/cli/install.rpm.sh | sudo bash sudo yum install speedtest在centOS上測試的速度如下
speedtest """Server: Guangzhou Unicom 5G - Guangzhou (id = 26678)ISP: China Unicom LiaoningLatency: 24.34 ms (0.09 ms jitter)Download: 4.87 Mbps (data used: 6.1 MB) Upload: 4.83 Mbps (data used: 6.8 MB) Packet Loss: 0.0%Result URL: https://www.speedtest.net/result/c/2d77c089-ea36-4c26-9b2a-94981e9dae6d """freeBSD
sudo pkg update && sudo pkg install -g libidn2 ca_root_nss # Example how to remove conflicting or old versions using pkg # sudo pkg remove speedtest sudo pkg add "https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-freebsd.pkg"總結
以上是生活随笔為你收集整理的Ubuntu、CentOS、macOS测试服务器上传和下载速度的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 飞信2010分析 – SIPC验证
- 下一篇: 跟着Code走,详解Symbian Cl