netdev
[Top] [All Lists]

Retrieving in.terface statistics frequently and without pain

To: netdev@xxxxxxxxxxx
Subject: Retrieving in.terface statistics frequently and without pain
From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Sun, 14 Oct 2001 11:48:05 +0930
Reply-to: rsharpe@xxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917
Hi,

What is the quickest way to retrieve interface statistics quickly and without pain?

I am interested in seeing bytes in and out as well as packets in and out. I am also interested in seeing collisions.

If the interface was in promiscuous mode, would packets and bytes in/out count total traffic on the wire?

I notice that there is no SIOCGIFSTATS IOCTL. Would such a thing be desirable?

--
Richard Sharpe, rsharpe@xxxxxxxxxx, LPIC-1
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba
in 24 Hours, Special Edition, Using Samba


<Prev in Thread] Current Thread [Next in Thread>