emenegro
emenegro

Reputation: 6971

How can I measure network traffic?

For example as Download Meter app does. Can I track packages dispatched? Does iOS a traffic tracking system that I can poll somewhere?

Upvotes: 1

Views: 676

Answers (2)

bioffe
bioffe

Reputation: 6383

In XCode -> Run with Performance Tool -> Select Activity Monitor -> Open Library and add Network Activity Tool. Remember it will capture ALL network activities from your phone, not just your app's traffic. You will need to determine "white noise" traffic subtract from overall sampling. Good luck.

alt text

Upvotes: 1

polemon
polemon

Reputation: 4772

vnstat under Linux.

There's a nice graphical representation for it, made with rrdtool.

Edit

Sorry, didn't see it's for iPad. please clarify your machine and OS next time...

Upvotes: 0

Related Questions