Android 命令工具

adb logcat -b event

adb shell pm

pm clear

pm path

adb shell am

adb shell dumpsys

dumpsys activity

dumpsys window

dumpsys dropbox

dumpsys meminfo

dumpsys cpuinfo

dumpsys package

杀死桌面进程

adb shell kill $(adb shell ps|grep launcher3 | awk '{print $2}')

adb shell dumpsys meminfo yd.ds365.com.seller 此进程内存信息

adb shell dumpsys cpuinfo 查看cpu占用信息

adb shell dumpsys atvitity activities | grep yd.ds365.com.seller 筛选当前进程的activity栈信息

adb logcat -v time 打印时间

adb bugreport > log.txt 记录完整信息

adb shell cat /data/misc/wifi/*.conf 查看wifi密码

adb shell top -m 5 -t    cpu前5个进程

你可能感兴趣的:(Android 命令工具)