内存分析
2019-07-15 本文已影响0人
OoYoO
adb shell dumpsys meminf [-a] [-d] [-c] [-s] [--oom] [process]
-a: include all available information for each process.
-d: include dalvik details when dumping process details.
-c: dump in a compact machine-parseable representation.
--oom: only show processes organized by oom adj.
--local: only collect details locally, don't call process.
--package: interpret process arg as package, dumping all
processes that have loaded that package.
If [process] is specified it can be the name or
pid of a specific process to dump.