Show Table of Contents
A.4. ss
ss はソケットに関する統計情報を出力するコマンドラインユーティリティーで長期間に渡りデバイスパフォーマンスの評価を行うことができます。デフォルトでは接続を確立していてリスニングを行っていないオープンの TCP ソケットが表示されますが、特定のソケットに関する統計を出力から除去できる便利なオプションがいくつか用意されています。
よく使用されるコマンドの一つに
ss -tmpie があります。すべての TCP ソケット (t)、内部 TCP 情報 (i)、ソケットのメモリー使用量 (m)、ソケットを使用しているプロセス (p)、ソケット情報の詳細 (i) などを表示します。
Red Hat Enterprise Linux 7 では netstat 経由での ss を推奨しています。
ss は iproute パッケージで提供されます。詳細については man ページをご覧ください。
$ 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.