netstat can show the number of frames received/sent (Ipkts/Opkts),
received/sent with error (Ierrs/Oerrs), etc. But you may get more detailed
stats with kstat.

If interface is e1000g0, try "kstat -m e1000g -i 0". Similarly for Realtek
interface you can get its statistics using kstat. To understand what each
entry in kstat is for, you can go through the driver source.

 

Gireesh

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Vishal
Ahuja
Sent: Tuesday, April 13, 2010 2:56 AM
To: [email protected]
Subject: [networking-discuss] Packet drops (NIC buffer overflow, protocol
processing)

 

Hi All,

I am running some experiments for which I need to figure out where the
packets are being lost at the receiver. The network protocol is UDP, and my
machine has a realtek driver. Is there a way to pin point the number of
packets lost at the NIC, and how many in the kernel. I need to do it for
another machine which has the e1000g driver for the NIC. Is netstat able to
capture this, or dtrace?

Thank you,
Vish

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to