LAN Traffic monitoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm looking for a way to monitor the traffic load, ie rate of traffic going
in
& out of a specific NIC on my RHES 4.6.

Thought of using a script to take consecutive readings, say every 5
seconds by taking the difference in the RX & TX readings & then
divided by 5 to get the rate.

Which of the following outputs are most up-to-date & accurate :
ifconfig bond0  (ie issue this command 5 secs apart, get the difference
                       & divide by 5)
netstat -i bond0  (ie issue this command 5 secs apart, get the difference
                       & divide by 5)
  OR
cat /proc/net/dev


"ethtool -S bond0" on my server gave  "no statistics available".


If anyone has a script (Shell or Perl) to share, appreciate if you can
email it over


U
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux