Show Table of Contents
A.4. ss
ss 為命令列公用程式,能夠列出有關通訊端的數據資訊,使系統管理員能夠隨時間取得裝置效能。在預設情況下,ss 會列出開放的非聽取性 TCP 通訊端以建立連線,但 ss 亦提供多種有用選項,協助系統管理者篩選有關特定通訊端的數據。
一個常見的命令為
ss -tmpie,其顯示所有 TCP 通訊端(t)、內部 TCP 資訊(i)、通訊端記憶體使用量 (m)、使用通訊端的程序(p),和詳細的通訊端資訊(i)。
Red Hat 建議在 Red Hat Enterprise Linux 7 中選擇 ss 更勝 netstat。
ss 由 iproute 套件提供。更多資訊,請參閱 man page:
$ man ss

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.