Android Shell命令dumpsys

 

dumpsys命令可以显示手机中所有应用程序的信息,并且也会给出现在手机的状态。

直接执行adb shell dumpsys KEY 会显示以下所有信息。

KEY的可选名称
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

 

参考链接:

http://androiddeveloper.diandian.com/post/2014-01-28/40060888379

posted @ 2015-06-16 11:33  lipeil  阅读(536)  评论(0编辑  收藏  举报