lkml.org 
[lkml]   [2002]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how to get per-socket stats on udp rx buffer overflow?
> Is there any way for me to see how many incoming packets 
> were dropped on a udp socket due to overflowing the input buffer?
> I specifically want this information on a per-socket basis.

The /proc/net/snmp Udp counter InErrors includes the global
count. It would be expensive and usually unnecessary to keep
per-socket stats. Is there a real need for seeing the
per-socket count?

If it helps, you can check the current bytes in the recv queue
in netstat output - you wont know how many bytes have been dropped,
but at least you know the amnt in the queue waiting to be read..

> Chris

thanks,
Nivedita

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.080 / U:0.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site