x:\>adb shell dumpsys
===================

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 SurfaceFlinger

2 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 devicestoragemonitor

19 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_management

37 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}'

=========================

获取MEDI号码
x:\>adb shell dumpsys iphonesubinfo

Phone Subscriber Info:
Phone Type = GSM
Device ID = 012345678901234


更多相关文章

  1. Android 监听短信接收 获取发件号码、短信内容
  2. 如何在Android上获取本机号码?
  3. android小程序 查询电话号码信息
  4. 2010.12.26——— android 获得手机号码 和 IMEI号 等
  5. Android 设备+APP+号码信息
  6. Android 拨打webView 里面的电话号码的方法
  7. Android利用WebService查询手机号码归属地
  8. Android中textView自动识别电话号码,电子邮件,网址(自动加连接)
  9. android获取手机号码以及imsi信息

随机推荐

  1. [Android] 触屏setOnTouchListener实现图
  2. 【android 蓝牙开发——BLE(低功耗)蓝牙】
  3. Android列表布局专题(二)ListView
  4. Android 事件传递机制(简要总结)
  5. Android(安卓)平板分辨率适配
  6. 快速转化J2ME程序为Android程序
  7. Android中继承View的研究(一) -- 一个小D
  8. Android px,dp,pt,sp的区别
  9. Android\OPhone动画分析之翻转效果
  10. 避免android程序开发内存泄漏