少于 1 分钟阅读 次阅读

adb shell dumpsys meminfo | grep "Total RAM"

输出如下,单位为KB

Total RAM: 3,992,508K (status normal)

十进制下除以两次1024就得到以GB为单位的数值了。

留下评论