Skip to content
View in the app

A better way to browse. Learn more.

PHP论坛人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VPS/雲主機的國際測速

Featured Replies

VPS/雲主機的國際測速


當你的 VPS/雲主機 服務的對象包含國際用戶時,測試其對外連線速度就變得非常重要

以下介紹兩款常見的測速工具,並提供實用指令與使用建議


-------------------
YABS 一鍵腳本
-------------------

若只想用 iperf3 測試網路速度
curl -sL yabs.sh | bash -s -- -fg

01.png

說明:

僅執行 iperf3 測速,不包含硬碟與硬體測試

適合快速了解主機的國際頻寬表現

支援多點測試,結果較為客觀

--------------------------------------
speedtest-cli (基於 Speedtest.net)
--------------------------------------

安裝方式
apt update

安裝 speedtest-cli
apt install speedtest-cli



伺服器當地的測速,完整詳細輸出模式
speedtest-cli


會顯示:
ISP名稱
IP位址
測速伺服器 (位置與距離)
Ping 值
下載速度
上傳速度

適用情境:
網路問題診斷
測速記錄與除錯
初次測試或需完整資訊時





伺服器當地的測速,精簡輸出模式
speedtest-cli --simple


只顯示三個關鍵數值:
Ping
Download
Upload

適合用途
腳本自動化
系統監控
cron排程
log收集



列出可用測速節點
speedtest-cli --list



指定測速伺服器
speedtest-cli --server <伺服器ID>

範例:
speedtest-cli --server 73629

Edited by Jack

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.