I want to read the network statistics on my Nexus 7 from the file system. On all devices tested before, the network statistics (e.g., tx_packets) were always located in
/sys/devices/virtual/net/wlan
However, although on the Nexus 7 there are four matching sub directories
/sys/devices/virtual/net/dummy
/sys/devices/virtual/net/ip6tnl0
/sys/devices/virtual/net/lo
/sys/devices/virtual/net/sit0
none of them seems to provide the right statistics, as all their statistic files do not change during Web access via WiFi.
Any sugestions where I might look as well?
try the directory: /sys/class/net/iface/statistics/tx_packets
Example for wlan0