美文网首页
adb 常用命令

adb 常用命令

作者: rogerwu1228 | 来源:发表于2019-05-31 17:49 被阅读0次

1, 删除日志缓存

adb logcat -b all -c

2, 查看当前手机 CPU 占用情况

首先 adb shell 再: top -m 20 -t -s cpu
-m num Maximum number of processes to display. // 最多显示多少个进程
-n num Updates to show before exiting. // 刷新次数
-d num Seconds to wait between updates. // 刷新间隔时间(默认5秒)
-s col Column to sort by (cpu,vss,rss,thr). // 按哪列排序
-t Show threads instead of processes. // 显示线程信息而不是进程

相关文章

网友评论

      本文标题:adb 常用命令

      本文链接:https://www.haomeiwen.com/subject/jsbgtctx.html