Re: Network Stats
Re: Network Stats
- Subject: Re: Network Stats
- From: Robert MacGregor <email@hidden>
- Date: Fri, 9 Jan 2004 13:25:46 -0500
On Jan 9, 2004, at 1:01 PM, Charlie Boisseau wrote:
Hi,
I was wondering if anyone here knew how to get detailed network stats
from
the system. From The IONetworkInterface class in the IOKit I have
been able
to get the number of network packets sent and received along with
collisions
and errors. This works well, however I still can't get the number of
bytes
both sent and received, and this is really what I want.
I know it must be possible without having to use some 3rd party
library -
Activity Monitor.app does it in Panther without any problems.
Does anyone know where I can look to get these values? I have looked
Maybe the information you want can be accessed via SNMP using snmpd and
a suitable SNMP client.
/usr/sbin/snmpd
man snmpd
Rob
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
References: | |
| >Network Stats (From: Charlie Boisseau <email@hidden>) |