The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
solaris way if interpreting devices? wrapster SUN Solaris 1 01-24-2008 03:53 PM
interpreting email log: ndel= mstarcom UNIX for Dummies Questions & Answers 1 12-11-2007 07:01 AM
help interpreting usermod man page amheck SUN Solaris 0 06-08-2006 12:29 PM
vmstats interpreting MizzGail UNIX for Advanced & Expert Users 3 02-22-2002 08:56 AM
Shellscript Interpreting Ann UNIX for Dummies Questions & Answers 3 01-19-2002 08:31 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-24-2001
Registered User
 

Join Date: Jul 2001
Posts: 11
Question Interpreting netstat -s

Are there any references I can look up for to interprete "netstat -s", especially those on TCP statistics.
__________________
DY
Swimming in the ocean of Unix
Forum Sponsor
  #2 (permalink)  
Old 07-24-2001
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584

I don't understand your questions... What do you want to interpret? Do you want a more user-friendly listing from netstat? Do you want more information on a specific stat?
  #3 (permalink)  
Old 07-24-2001
Registered User
 

Join Date: Jul 2001
Posts: 11
netstat -s

Sorry for not posing my question clearly.

I wish to know the meaning of individual statistics output by "netstat -s".
__________________
DY
Swimming in the ocean of Unix
  #4 (permalink)  
Old 07-24-2001
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584

Well, it's very hard to explain them all if you don't understand TCP/IP. They show stuff that isn't too useful unless you're looking for something specific, or troubleshooting a network bug. Look for a primer on the TCP/IP protocol if you want to understand the output of `netstat -s`.
  #5 (permalink)  
Old 07-25-2001
Registered User
 

Join Date: Jul 2001
Posts: 11
I am trying to check on whether file descriptors has been exhausted. Which statistic should I refer to for this ?

If a process is trying to open up a socket, and the file description limit has exceeded, will there be any error log shown (eg in /var/adm/message) ?
__________________
DY
Swimming in the ocean of Unix
  #6 (permalink)  
Old 07-25-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,191
Example output of netstat -s:

[quote]
athlon# netstat -s
Ip:
461270 total packets received
0 forwarded
0 incoming packets discarded
288 incoming packets delivered
374553 requests sent out
8 dropped because of missing route
Icmp:
29 ICMP messages received
0 input ICMP message failed.
ICMP input histogram:
destination unreachable: 29
899 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 899
Tcp:
34 active connections openings
0 passive connection openings
0 failed connection attempts
0 connection resets received
1 connections established
460013 segments received
373502 segments send out
993 segments retransmited
0 bad segments received.
2 resets sent
Udp:
123 packets received
32 packets to unknown port received.
0 packet receive errors
152 packets sent
TcpExt:
[/code]

There is nothing here that discusses file descriptors. This simply provides statistics about sockets, packets, tcp segments, and connections.

This command is not used to check for file descriptor usage.

  #7 (permalink)  
Old 07-25-2001
Registered User
 

Join Date: Jul 2001
Posts: 11
thnx Neo
I was just trying to check if there is any failed connections, perhaps due to fd exhausted.
__________________
DY
Swimming in the ocean of Unix
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0