Sample Header Ad - 728x90

Android 10 - recording app network usage

1 vote
0 answers
528 views
On Android 9 or less, I use a shell script which continuously reads from /proc/net/xt_qtaguid/stats and greps by app UID to get app network usage. However, this method is deprecated on android 10: https://source.android.com/devices/tech/datausage/kernel-overview Is there any other way I can get the same information? Or, how can I use the new eBPF network traffic tool to get this information?
Asked by Ishmael7 (83 rep)
Nov 30, 2020, 06:22 PM