最終更新:2015-12-03 (木) 14:20:19 (1679d)  

dumpsys
Top / dumpsys

The dumpsys tool runs on the device and dumps interesting information about the status of system services.

https://source.android.com/devices/tech/input/dumpsys.html

ソースコード

Android 4.1

Android 4.0

  • AOSP/frameworks/base/cmds/dumpsys?

メモ

  • ファイルにリダイレクトしようとするとなんかエラーが出る
    root@generic_x86:/ # dumpsys > /sdcard/dumpsys.txt
    ...
    Error dumping service info: (Unknown error -2147483646) input
    ...

動作

  • ServiceManagerからサービスの一覧を取得して、それぞれのdumpメソッドを呼ぶっぽい

一覧

Currently running services

  • dumpsys SurfaceFlinger
  • dumpsys accessibility?
  • dumpsys account?
  • dumpsys activity
  • dumpsys alarm?
  • dumpsys appwidget?
  • dumpsys audio
  • dumpsys backup?
  • dumpsys battery?
  • dumpsys batteryinfo?
  • dumpsys clipboard?
  • dumpsys commontime_management?
  • dumpsys connectivity?
  • dumpsys content?
  • dumpsys country_detector?
  • dumpsys cpuinfo?
  • dumpsys dbinfo?
  • dumpsys device_policy?
  • dumpsys devicestoragemonitor?
  • dumpsys diskstats?
  • dumpsys display
  • dumpsys dreams?
  • dumpsys drm.drmManager?
  • dumpsys dropbox?
  • dumpsys entropy?
  • dumpsys gfxinfo
  • dumpsys hardware?
  • dumpsys input - Android 4.2
  • dumpsys input_method?
  • dumpsys iphonesubinfo?
  • dumpsys isms?
  • dumpsys location?
  • dumpsys lock_settings?
  • dumpsys media.audio_flinger?
  • dumpsys media.audio_policy?
  • dumpsys media.camera
  • dumpsys media.player?
  • dumpsys meminfo
  • dumpsys mount
  • dumpsys netpolicy?
  • dumpsys netstats?
  • dumpsys network_management?
  • dumpsys notification?
  • dumpsys package
  • dumpsys permission?
  • dumpsys phone?
  • dumpsys power?
  • dumpsys samplingprofiler?
  • dumpsys scheduling_policy?
  • dumpsys search?
  • dumpsys sensorservice?
  • dumpsys serial?
  • dumpsys servicediscovery?
  • dumpsys simphonebook?
  • dumpsys statusbar?
  • dumpsys telephony.registry?
  • dumpsys textservices?
  • dumpsys throttle?
  • dumpsys uimode?
  • dumpsys updatelock?
  • dumpsys usagestats?
  • dumpsys usb
  • dumpsys user?
  • dumpsys vibrator?
  • dumpsys wallpaper?
  • dumpsys wifi?
  • dumpsys wifip2p?
  • dumpsys window

Android 4.1

Android 4.2

  • 追加
    • dumpsys commontime_management?
    • dumpsys dbinfo?
    • dumpsys drm.drmManager?
    • dumpsys input
    • dumpsys lock_settings?
    • dumpsys scheduling_policy?
    • dumpsys serial?
    • dumpsys servicediscovery?
    • dumpsys updatelock?

Android 6.0

関連

参考