標籤:linux
平時,我們購買了服務商的伺服器,不知道網速效能怎麼樣?
下面教大家一種方法測試
wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
650) this.width=650;" src="http://s1.51cto.com/wyfs02/M00/88/66/wKioL1f2B7DzZlUrAAA-Ivs_c9U742.png" title="1.png" alt="wKioL1f2B7DzZlUrAAA-Ivs_c9U742.png" />
如果出現如下按照提示修正命令
wget --no-check-certificate https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
650) this.width=650;" src="http://s1.51cto.com/wyfs02/M02/88/69/wKiom1f2B7CS59VUAADDlstMPB4871.png" title="2.png" alt="wKiom1f2B7CS59VUAADDlstMPB4871.png" />
接下來給許可權
chmod a+rx speedtest_cli.py
移動檔案到軟體資來源目錄
sudo mv speedtest_cli.py /usr/local/bin/speedtest-cli
改變擁有者和群
sudo chown root:root /usr/local/bin/speedtest-clispeedtest-cli
650) this.width=650;" src="http://s1.51cto.com/wyfs02/M02/88/69/wKiom1f2B7Cg4iYkAAA9sPNIYok871.png" title="3.png" alt="wKiom1f2B7Cg4iYkAAA9sPNIYok871.png" />
如果想分享到網路650) this.width=650;" src="http://s1.51cto.com/wyfs02/M01/88/66/wKioL1f2B7HhdjQ2AABLGeilqTc531.png" title="4.png" alt="wKioL1f2B7HhdjQ2AABLGeilqTc531.png" />
650) this.width=650;" src="http://s1.51cto.com/wyfs02/M02/88/66/wKioL1f2B7HTLCcpAAB4xGwYpY4090.png" title="5.png" alt="wKioL1f2B7HTLCcpAAB4xGwYpY4090.png" />
本文出自 “11793715” 部落格,轉載請與作者聯絡!
linux伺服器上傳下載頻寬測試