Network Stats
Network Stats
- Subject: Network Stats
- From: Charlie Boisseau <email@hidden>
- Date: Fri, 09 Jan 2004 18:01:51 +0000
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
everywhere in the docs, on the web and on ADC - nothing! I know it might
have to be done as root in a helper tool - that's OK; my program already has
a couple of other tools it needs to authorize, so it can do them all at the
same time.
Cheers.
--
Charlie Boisseau
_______________________________________________
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.