adb shell dumpsys

adb shell dumpsys activity activities

    -- class/packagename

adb shell dumpsys batterystate --reset

       dumpsys wifi 

            cupinfo

            input_method

             memoryinfo "packagename"

adb shell dumpsys batterystate > com.sepp.mypkgname > myapp_bts.txt
phython historian.py myapp_bts.txt > myapp_battery_stats.html

Activity Manager State:  adb shell dumpsys activity [package]

Package Infomation: adb shell dumpsys package[package]

Memory Usage: adb shell dumpsys meminfo [package]

Memory use over time: adb shell dumpsys procstats [package]

Graphics State: adb shell dumpsys gfxinfo [package]

 
上一篇:LeetCode 42. Trapping Rain Water 【两种解法】(python排序遍历,C++ STL map存索引,时间复杂度O(nlogn))


下一篇:Python学习【第5篇】:Python之函数(自定义函数,内置函数,装饰器,迭代器,生成器、模块)