• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Network Stats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Network Stats
      • From: Dave Rehring <email@hidden>
    • Re: Network Stats
      • From: Robert MacGregor <email@hidden>
  • Prev by Date: WebServices in Panther
  • Next by Date: Re: Network Stats
  • Previous by thread: WebServices in Panther
  • Next by thread: Re: Network Stats
  • Index(es):
    • Date
    • Thread