• 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
Re: network traffic statistics
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: network traffic statistics


  • Subject: Re: network traffic statistics
  • From: "Justin C. Walker" <email@hidden>
  • Date: Tue, 27 Jan 2009 16:22:09 -0800


On Jan 27, 2009, at 14:27 , Pavel Hlavnicka wrote:

Dear all,

I'm afraid I'm missing something really obvious, but believe me or not
I've spent some time on gogole till now.

I'm writing an application that should as one of its features show
'network statistic' for a given interface (bound to the airport
mostly)... nothing perfect, just simple counter for in/out traffic -
whatever it means - can be protocol dependent or not, TCP/UDP only or
any packets... really does not matter much. Have checked
SCNetworkConfiguration.h and did some research for BSD level
approach... no luck so far...

could anyone to tell me ONE word bringing me one step further.

Check the source for 'netstat', in the network_cmds project. That may get you started.


Run "netstat -i" to see if that's what you're looking for.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
 Well, except the weasel."
      - Homer J Simpson
--------


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >network traffic statistics (From: Pavel Hlavnicka <email@hidden>)

  • Prev by Date: network traffic statistics
  • Next by Date: Re: network traffic statistics
  • Previous by thread: network traffic statistics
  • Next by thread: Re: network traffic statistics
  • Index(es):
    • Date
    • Thread