LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 09-20-2009, 04:35 PM   #1
tbaror
Member
 
Registered: Apr 2006
Posts: 33

Rep: Reputation: 0
Question netstat -s for TCP Statistics


Hello All,

i trying to figure out TCP Statistics especially Failed Connection Attempts .
I would like to understand what value would indicate high as threshold?.
Also i would like to know if appearing of errors of such kind indicate issue at remote host or local, and what could cause such errors ,network bandwidth or lack of IO etc..

Thanks
 
Old 09-22-2009, 04:21 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,369
Blog Entries: 54

Rep: Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869
To find out what value is high or not you have to understand what the item means. You could start by running 'strace -v netstat -s'. You'll find one of the keys it reads is /proc/net/snmp. This proc key showing traffic stats is populated by whatever goes on in the kernels source .*/tcp.c (around line 700-900 in kernel 2.4.9 IIGC). You'll find it's about in-flight SYN discrepancies. But what value would be high I wouldn't know, this shows on one of my machines:
Code:
Tcp:
    7971661 active connections openings
    7104573 passive connection openings
    31224 failed connection attempts
and it definately works OK...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
TCP Stack and Netstat: Could having lots of TIME_WAIT connection slow down the server helptonewbie Linux - Networking 7 06-20-2012 01:48 PM
Netstat issues 'warning, got duplicate tcp line' English_Man Linux - Networking 5 04-13-2009 03:07 AM
TCP Connection Viewer or a verbose Netstat?? devmoc Linux - Networking 7 12-14-2007 12:58 AM
Linux change TCP kernel Parameter for TCP DELAY ACK TICKS linux_mando Linux - Networking 5 08-22-2006 08:20 AM
netstat doesn't show tcp sockets in Redhat 7.2 pfpalmer Linux - General 3 10-31-2002 03:04 AM


All times are GMT -5. The time now is 01:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration