Linux 網路使用率、流量 - Linux

Table of Contents

※ 引述《afgn (n/a)》之銘言:
: ※ 引述《po500922 (我不知道)》之銘言:
: : 想要得知系統的網路使用率 還有流量大小
: : 但是不使用額外的軟體之下
: : 用 cat /proc/net/sockstat
: : 可以看到TCP/UDP封包的數量
: : 另外用cat /proc/net/dev
: : 也有類似的資訊
: : 想要請問如果我想要知道整個網路的流量、使用率
: : 應該看哪一部份
: : 以及取得資訊後應該如果計算
: : 謝謝
: apt-get install bwm-ng 即可

aptitude install iftop
可以單獨個 IP, interface & filter

aptitude install ngrep
network grep ..!! 還蠻好用的取自 Linux HACK 100

--
http://blog.2be.com.tw

--

All Comments