Maybe you are finding the tcpdump. Android has already support the tcpdump.
Just use the tcpdump, and then analyze it with wireshark or Just check the packet throughput, you can use netperf On 11월29일, 오전2시34분, Nick Fedchik <[email protected]> wrote: > 11/29/2011 12:04 PM, biAji пишет:> I believe there has been a method to get > traffic per pid. You can dig > > them out from TrafficStatics.java. > > TrafficStatics.java? > May be You about android.net.TrafficStats ? > > http://developer.android.com/reference/android/net/TrafficStats.html > > Class that provides network traffic statistics. These statistics include > bytes transmitted and received and network packets transmitted and > received, over all interfaces, over the mobile interface, and on a > per-UID basis. > > These statistics may not be available on all platforms. If the > statistics are not supported by this device, |UNSUPPORTED > <http://developer.android.com/reference/android/net/TrafficStats.html#...>| > will be returned. > > Not a good choice, also it's impossible to get http traffic. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
