#####
iftop
#####
Interactive environment for view
(STEP 0) INSTALL
1 |
apt-get install iftop |
1 |
iftop -nNBP -i eth0 |
(STEP 2) ONCE IN PROGRAM
then once logged in
hit Shift-T to see total column
Reminder of the columns in interface on the right side:
TOTALS (if pressed shift T), 2 sec, 4 sec, and 10 sec speeds
and hit t until get desired row output style
CHEATSHEET
———-
If start iftop with this: iftop -nNBP -i eth0
T ===== Totals column and both directions (RX & TX)
tT ===== Totals column and both on one line (RX + TX)
ttT ==== Totals column and showing only RX Traffic
tttT ==== Totals column and showing only TX Traffic
T – means SHIFT-T and shows totals column
t -means pressing t key and it alternates view mode (Both, RX+TX, RX, TX)
######
ifstat
######
Interface bandwidth continous scrolling output
(STEP 0) INSTALL
1 |
apt-get install ifstat |
(STEP 1) COMMAND LINE
1 |
ifstat -bat |
-b bytes instead of bits
-a every interface
-t time stamps