I'm going to write an app to do dynamic analysis of processes. In order to achieve this I want to have detailed statistics about process running on my phone.
Note: I have rooted phone so some limits are removed.
So here is my question, how can I collect process information in detail dynamically? I know results of top
,ps
commands can help me, however I don't know how to call them or do I have access these commands on a rooted phone?
As I searched around the web ActivityManager.RunningAppProcessInfo
is no longer useful since It provide limited information since Lolipop.
问问题
1218 次