LAN Traffic monitoring

cliff here c4ifford at gmail.com
Tue Dec 21 17:34:40 UTC 2010


Try Iptraf,  I don't think it has any dependencies  and I use a lot for
RHEL4.8

On Tue, Dec 21, 2010 at 12:03 PM, sunhux G <sunhux at gmail.com> wrote:

> 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 at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
-------------------------------------------------------------------------------------------------------------------------------------
NOTICE: This message, including all attachments, is intended for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering this message
to its intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by replying "Received in error" and immediately delete this
message and all its attachments.
-------------------------------------------------------------------------------------------------------------------------------------



More information about the redhat-list mailing list