Android中的获取内存信息的相关命令

相关命令:

adb shell dumpsys meminfo > dumpsys_meminfo.txt

adb shell cat /sys/kernel/debug/ion/ion_mm_heap > ion_mm_heap.txt
adb shell cat /proc/mali/memory_usage > gpu_mali_memory_usage.txt
adb shell ps > ps.txt
adb shell cat /proc/vmallocinfo > vmallocinfo.txt
adb shell cat /proc/zoneinfo > zoneinfo.txt
adb shell cat /proc/meminfo > proc_meminfo.txt

adb shell dumpsys procstats > proc_stats.txt

adb shell procrank > proc_crank.txt(eng version only)


你可能感兴趣的:(Android中的获取内存信息的相关命令)