Hi,
Is there a way to monitor bandwidth usage using iftop? I am currently debugging a *MySQL Master Slave Replication lag issue*.
Master Server IP :- 192.168.1.10 Slave Server IP :- 192.168.1.11
I am interested in measuring the network traffic between Master and Slave at a particular period. For example the lag happens only during late night hours around 3:00 am till 4:00 am. Can iftop network monitoring utility be run in background or daemon mode or invoked by cron during a specific time period to see if the network is a bottleneck for the *Slave Lag*. Also can i filter source ip which is 192.168.1.10 (IP of the Master MySQL Server)?
Any help will be highly appreciable.
Regards,
Kaushal
It isn't really designed for monitoring in the background in the sense that the current code base can output as curses-free text (-t), but it isn't CSV or any other easily parse-able format.
You can easily filter what it monitors using the -f option (tcpdump/pcap style).
On Fri, Jul 8, 2016 at 6:01 AM, Kaushal Shriyan kaushalshriyan@gmail.com wrote:
Hi,
Is there a way to monitor bandwidth usage using iftop? I am currently debugging a *MySQL Master Slave Replication lag issue*.
Master Server IP :- 192.168.1.10 Slave Server IP :- 192.168.1.11
I am interested in measuring the network traffic between Master and Slave at a particular period. For example the lag happens only during late night hours around 3:00 am till 4:00 am. Can iftop network monitoring utility be run in background or daemon mode or invoked by cron during a specific time period to see if the network is a bottleneck for the *Slave Lag*. Also can i filter source ip which is 192.168.1.10 (IP of the Master MySQL Server)?
Any help will be highly appreciable.
Regards,
Kaushal
iftop-users mailing list iftop-users@lists.beasts.org http://lists.beasts.org/mailman/listinfo/iftop-users