|
|
1 b2 y! e! A' Q$ eyum方式安装iftop
b; d) w" D: n- yum -y install iftop
- ifconfig
- iftop -i eth0 -B -n0 j" f. v$ l! M" v3 o4 w
+ V5 y: E& ]$ J% a G5 {) [4 N. B* J" G-i eth0 是指定网卡
; R! a: R( G, j- P-B是以byte显示网速,默认是以bit显示的2 o/ n3 [' I! s* N# W
-n是直接显示IP而不是显示主机名。+ d. M: e% P/ A% @, n
. H$ y+ ~# U5 s8 ?* c1 `& x1 p4 }* G1 h5 w0 a4 }6 Q
yum方式安装Nethogs
: T# G! |; x3 {, M3 I
. B4 i( c( Y6 i: P, b/ ~/ i- yum install epel-release -y
- yum install libpcap nethogs -y
- nethogs
; g! r3 V+ v/ P( K6 x 5 w; V$ X4 k& ]% d* c- ?% I0 m
+ q& y' }. E# G1 i" }" C
|
|