可跟参数有以下这些:
SurfaceFlinger, accessibility, account,activity, alarm, appwidget, audio, backup, battery, batteryinfo,bluetooth, bluetooth_a2dp, clipboard, connectivity, content,cpuinfo, device_policy, devicestoragemonitor, diskstats, dropbox,entropy, hardware, hdmi, input_method, iphonesubinfo, isms,location, media.audio_flinger, media.audio_policy, media.camera,media.player, meminfo, mount, netstat, network_management,notification, package, permission, phone, power, search, sensor,simphonebook, statusbar, telephony.registry, throttle, uimode,usagestats, vibrator, wallpaper, wifi, window |
在CMD下面输入以下命令:
adb shell dumpsys activity |
|
adb shell dumpsysactivity>activity.txt |
“>activity.txt”是使用管道将信息打印的activity.txt中,再使用文本编辑器打开帮助我们更好的搜索和分析。 |