Android view memory command summary

① adb shell df -h View partition status

insert image description here

② du -sh * Query the disk usage space of the directory

insert image description here

③ dumpsys devices storage monitor display device memory information

insert image description here

④ pm list packages View all installed packages

insert image description here

⑤ adb shell dumpsys meminfo $package_name or $pid Get the memory information corresponding to a single process

insert image description here

おすすめ

転載: blog.csdn.net/daokedream/article/details/129493494