LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-09-2010, 02:30 PM   #1
shahhe
Member
 
Registered: Nov 2003
Location: Chicago
Distribution: RHEL 5.4 on HP servers
Posts: 44

Rep: Reputation: 15
RHEL5 incorrect netstat statistics


Folks,

I am running multicast benchmark on RHEL5 systems. One RHEL5 system sends multicast packets and other RHEL5 system is the receiver. I use "netstat -su" to look at the counters and I noticed that whenever I have packet loss the "packet receive errors" is always increased by factor of two (i.e., if 100 packets are lost the counter is increased by 200).

Is this a bug or does it increase once for multicast and once to udp?

Thanks.
 
Old 07-14-2010, 09:16 PM   #2
lbrigman124
LQ Newbie
 
Registered: Jun 2006
Location: Oregon
Distribution: FC4-6,FC1,RH8-9, LFS,RHEL5, CENTOS5, Unbreakable5
Posts: 12

Rep: Reputation: 2
I would check to see what type of packets you are seeing on the wire with either tcpdump or wireshark.

Also which error count are you looking at? This the output of a machine at work.

[me@myhost]$ netstat -su
IcmpMsg:
InType0: 2325
InType3: 91
InType8: 17
OutType0: 17
OutType3: 248
OutType8: 8752
OutType13: 1
Udp:
4656889 packets received
235 packets to unknown port received.
12 packet receive errors
3527864 packets sent
IpExt:
InMcastPkts: 200639
OutMcastPkts: 36
InBcastPkts: 5688689

Also which kernel are you running from RHEL5?
 
Old 07-15-2010, 11:54 AM   #3
shahhe
Member
 
Registered: Nov 2003
Location: Chicago
Distribution: RHEL 5.4 on HP servers
Posts: 44

Original Poster
Rep: Reputation: 15
I am looking at "packet receive errors". This is a benchmark environment to nothing much is going on. I can run "netstat -su" all day long and the receive errors counter does not increase. When I run my multicast program and when there is a packet loss this counter is always increased by twice the number of packets lost.

I am running RHEL 5.4 (Tikanga), 2.6.18-164.20.1.el5 kernel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
netstat -s for TCP Statistics tbaror Linux - Networking 1 09-22-2009 04:21 PM
SELinux: RHEL4 to RHEL5 rules migration - unknown type var_lib_t in RHEL5 zbiggy Red Hat 2 05-12-2009 03:14 AM
How to make one rhel5 server control passwords for several rhel5 servers. folkrm Linux - Newbie 3 03-11-2009 02:17 PM
Incorrect Mouse, Incorrect Keymap, and Trapped in X Kenji Miyamoto Debian 8 08-24-2005 02:42 PM
netstat: incorrect eth assignment gjmwalsh Linux - Networking 0 06-26-2004 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration