Discussion:
LAN Traffic monitoring
sunhux G
2010-12-21 17:03:22 UTC
Permalink
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-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
cliff here
2010-12-21 17:34:40 UTC
Permalink
Try Iptraf, I don't think it has any dependencies and I use a lot for
RHEL4.8
Post by sunhux G
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.
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
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.
ESGLinux
2010-12-23 13:22:09 UTC
Permalink
Hi,

I use jperf. Is a client-server aplication and it works fine when you want
to measure the traffic between 2 machines you can acces.

HTH,

ESG
Post by cliff here
Try Iptraf, I don't think it has any dependencies and I use a lot for
RHEL4.8
Post by sunhux G
I'm looking for a way to monitor the traffic load, ie rate of traffic
going
Post by sunhux G
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.
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
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.
-------------------------------------------------------------------------------------------------------------------------------------
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
eugenejvr
2010-12-24 04:13:43 UTC
Permalink
Hi. For reel-time monitoring I use ipftaf. For a long-term solution I use
Cacti. It records everything to a database and draws a nice graph for you.
You can monitor your whole network with Cacti from one computer because it
uses snmp toe gather data
Post by ESGLinux
Hi,
I use jperf. Is a client-server aplication and it works fine when you want
to measure the traffic between 2 machines you can acces.
HTH,
ESG
Post by cliff here
Try Iptraf, I don't think it has any dependencies and I use a lot for
RHEL4.8
Post by sunhux G
I'm looking for a way to monitor the traffic load, ie rate of traffic
going
Post by sunhux G
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.
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
https://www.redhat.com/mailman/listinfo/redhat-list
--
-------------------------------------------------------------------------------------------------------------------------------------
Post by ESGLinux
Post by cliff here
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,
Post by ESGLinux
Post by cliff here
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.
-------------------------------------------------------------------------------------------------------------------------------------
Post by ESGLinux
Post by cliff here
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
sunhux G
2010-12-25 16:03:28 UTC
Permalink
does iptraf or cacti outputs the results in plain text files?

Reason is I need to tabulate the data in Excel.

I found iptraf, nettop & nethog output to sort of GUI/graphical
outputs (even if I used "script filename, run iptraf/nettop/nethog,
exit") & the outputs are not in plain text file


Thanks & Merry X'mas
U
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
eugenejvr
2010-12-26 08:54:29 UTC
Permalink
Hi, I'm not sure about text output, but I think you'll be able to get text
output using netstat

Have a great new year!
Post by sunhux G
does iptraf or cacti outputs the results in plain text files?
Reason is I need to tabulate the data in Excel.
I found iptraf, nettop & nethog output to sort of GUI/graphical
outputs (even if I used "script filename, run iptraf/nettop/nethog,
exit") & the outputs are not in plain text file
Thanks & Merry X'mas
U
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Ganesh Hariharan
2014-02-12 05:12:24 UTC
Permalink
Zabbix can get your real time data in graph

G
Post by eugenejvr
Hi, I'm not sure about text output, but I think you'll be able to get text
output using netstat
Have a great new year!
Post by sunhux G
does iptraf or cacti outputs the results in plain text files?
Reason is I need to tabulate the data in Excel.
I found iptraf, nettop & nethog output to sort of GUI/graphical
outputs (even if I used "script filename, run iptraf/nettop/nethog,
exit") & the outputs are not in plain text file
Thanks & Merry X'mas
U
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Krishna Chandra Prajapati
2014-02-12 14:19:33 UTC
Permalink
I too suggest zabbix, an enterprise class monitoring too. This will serve
your requirement.

Krishna Chandra Prajapati
krishcon.com
Post by Ganesh Hariharan
Zabbix can get your real time data in graph
G
Post by eugenejvr
Hi, I'm not sure about text output, but I think you'll be able to get
text
Post by eugenejvr
output using netstat
Have a great new year!
Post by sunhux G
does iptraf or cacti outputs the results in plain text files?
Reason is I need to tabulate the data in Excel.
I found iptraf, nettop & nethog output to sort of GUI/graphical
outputs (even if I used "script filename, run iptraf/nettop/nethog,
exit") & the outputs are not in plain text file
Thanks & Merry X'mas
U
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Loading...