Re: Inconsistent stats for networking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Kenneth Stephen wrote:

> Hi,
> 
> 	Here is the results of 'ifconfig > file; netstat -s >> file' on my
> system :
> 

[snip]

> 
> Ip:                                                        
>     21583882 total packets received   <----- Shouldnt this be 11122600 +
> 696141 + 981311 = 21631852 ?                        


Only if every packet you received is an _IP_ packet (and you missed the 
"72" on the loopback interface).

>     21540362 forwarded                                     
>     0 incoming packets discarded                           
>     12767 incoming packets delivered  <----- What is this number?                       


The number of packets you received that were addressed to his machine 
(and not simply forwarded to another).

>     16868 requests sent out                                
>     200 fragments failed              <----- Is this a problem? 


Hard to say.  The important figure is the percentage of fragmented 
packets that failed in reassembly.  With 21 million packets, I don't 
think 200 dropped fragments is excessive.

> Icmp:                                                      
>     554 ICMP messages received                             
>     0 input ICMP message failed.                           
>     ICMP input histogram:                                  
>         destination unreachable: 1                         
>         echo requests: 526                                 
>         echo replies: 27                                   
>     889 ICMP messages sent                                 
>     0 ICMP messages failed                                 
>     ICMP output histogram:                                 
>         destination unreachable: 338                       
>         time exceeded: 25                                  
>         echo replies: 526                                  
> Tcp:                                                       
>     7 active connections openings                          
>     0 passive connection openings                          
>     0 failed connection attempts                           
>     0 connection resets received                           
>     1 connections established                              
>     11130 segments received          <--|______  What are these numbers?       
>     15656 segments send out          <--|                   


Number of packets received / sent that were TCP packets.

>     34 segments retransmited                               
>     0 bad segments received.                               
>     29 resets sent                   <----- Is this a problem?


no.

> Udp:                                                       
>     352 packets received                                   
>     1 packets to unknown port received.    <----????


Someone sent you a packet to a port on which no program was listening.

>     0 packet receive errors  
>     354 packets sent         
> TcpExt:                      
>     SockMallocOOM: 0         
> 
> 
[snip]

> 	Any ideas / answers would be appreciated.
> 
> Thanks,
> Kenneth
> 
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
Casey Carter
Casey@Carter.net
ccarter@uiuc.edu
AIM: cartec69

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux