#####
iftop
#####
 
Interactive environment for view
 
(STEP 0) INSTALL
 
(STEP 1) COMMAND LINE

-B for bytes units (by default without this option its in bits), -i to specify interface, -n no hostname lookup, -N no port lookup, -P show ports 

(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
 
(STEP 1) COMMAND LINE
 
 

-b bytes instead of bits
-a every interface
-t time stamps

Leave a Reply

Your email address will not be published. Required fields are marked *