LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-20-2009, 04:35 PM   #1
tbaror
Member
 
Registered: Apr 2006
Posts: 37

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: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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



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

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

All times are GMT -5. The time now is 02:17 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