From kaushalshriyan at gmail.com Fri Jul 8 12:01:46 2016 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 8 Jul 2016 16:31:46 +0530 Subject: [Iftop-users] Debugging MySQL Replication lag using iftop utility Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssb at umn.edu Fri Jul 8 17:01:11 2016 From: ssb at umn.edu (Scott Bertilson) Date: Fri, 8 Jul 2016 11:01:11 -0500 Subject: [Iftop-users] Debugging MySQL Replication lag using iftop utility In-Reply-To: References: Message-ID: 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 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 at lists.beasts.org > http://lists.beasts.org/mailman/listinfo/iftop-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: