Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲
 Android教程網 >> Android技術 >> 關於Android編程 >> adb shell dumpsys 命令——打印當前系統信息

adb shell dumpsys 命令——打印當前系統信息

編輯:關於Android編程

dumpsys簡單介紹:該命令用戶打印出當前系統信息,默認打印出所有service信息,可以在命令後面加入activity參數,只打印出activity相關的信息。 可跟參數有以下這些: 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   例如:>adb shell dumpsys package>package.txt   package>package.txt 是使用管道將信息打印的package.txt中,再使用文本編輯器打開幫助我們更好的搜索和分析。 打開package.txt,部分內容如下所示: Libraries:   android.test.runner -> /system/framework/android.test.runner.jar   com.jayway.android.robotium -> /system/framework/robotium.jar   com.mediatek.location.provider -> /system/framework/com.mediatek.location.provider.jar   com.google.widevine.software.drm -> /system/framework/com.google.widevine.software.drm.jar   javax.obex -> /system/framework/javax.obex.jar   com.android.future.usb.accessory -> /system/framework/com.android.future.usb.accessory.jar   com.android.location.provider -> /system/framework/com.android.location.provider.jar   Features:   android.hardware.wifi   android.hardware.location.network   android.hardware.telephony   android.hardware.location   android.software.sip   android.hardware.touchscreen.multitouch.jazzhand   android.hardware.touchscreen.multitouch   android.hardware.screen.landscape   android.hardware.screen.portrait   android.hardware.faketouch   android.hardware.camera   android.hardware.wifi.direct   android.hardware.usb.accessory   android.hardware.touchscreen.multitouch.distinct   android.hardware.bluetooth   android.software.sip.voip   android.hardware.sensor.light   android.hardware.microphone   android.hardware.location.gps   android.hardware.telephony.gsm   android.hardware.camera.front   android.software.live_wallpaper   android.hardware.touchscreen   android.hardware.sensor.accelerometer
  1. 上一頁:
  2. 下一頁:
熱門文章
閱讀排行版
Copyright © Android教程網 All Rights Reserved