dumpsys使用
来源:互联网 发布:手机怎么使用淘宝联盟 编辑:程序博客网 时间:2024/05/19 23:25
Android has an interesting command called dumpsys to dump some system information. Even described on adb manual I think that some points should be reinforced. In order to get the complete status just run (will produce a large output):
adb shell dumpsys
Also you can apply filters to running services:
1 SurfaceFlinger2 accessibility
3 account
4 activity
5 alarm
6 appwidget
7 audio
8 backup
9 battery
10 batteryinfo
11 bluetooth
12 bluetooth_a2dp
13 clipboard
14 connectivity
15 content
16 cpuinfo
17 device_policy
18 devicestoragemonitor19 diskstats
20 dropbox
21 entropy
22 ethernet
23 hardware
24 input_method
25 iphonesubinfo
26 isms
27 keybar
28 location
29 media.audio_flinger
30 media.audio_policy
31 media.camera
32 media.player
33 meminfo
34 mount
35 netstat
36 network_management37 notification
38 package
39 permission
40 phone
41 power
42 search
43 sensorservice
44 simphonebook
45 statusbar
46 telephony.registry
47 throttle
48 uimode
49 usagestats
50 vibrator
51 wallpaper
52 wifi
53 window
Some examples:
adb shell dumpsys wifi
adb shell dumpsys cpuinfo
I suggest you try other items on the list above and be creative using all the power of Unix pipes. Example, to get all memory allocated by each process you can do something like:
adb shell dumpsys meminfo | grep "allocated:" | awk '{total = total + $5}END{print total}
- dumpsys使用
- dumpsys 使用
- dumpsys工具使用
- dumpsys工具使用
- dumpsys使用详解
- dumpsys的使用(重点)
- android dumpsys 使用
- dumpsys 命令使用
- dumpsys使用详解
- dumpsys使用详解
- android dumpsys使用
- android dumpsys使用
- Android dumpsys 使用
- android dumpsys命令使用
- dumpsys的使用
- dumpsys的使用笔记
- dumpsys
- dumpsys
- No result defined for action cxd.action.QueryAction and result success
- 类与对象
- 随笔
- 谁抢了我的IP!!!~
- UIView 基本用法
- dumpsys使用
- Linux 2.6下Driver开发的34个变化
- 图片另存为jpg
- Oracle 10g OEM Accessibility Mode Disabled问题解决
- 解决IE7\IE8部分错位兼容问题
- OpenCV码源笔记——RandomTrees (二)(Forest)
- Tiggzi:甩了其它小白编程工具N条街的移动应用开发工具
- myEclipse 打不开struts-config.xml 报Could not open the editor: An unexpected exception was thrown 错误(转载)
- [ios 站在巨人的肩膀上开发 之]ASIHttpRequest 使用指南(二)