snippetbashTip
dumpsys — Get information about Android system services. This command can only be used through `adb shell`. Mo
Viewed 0 times
commanddumpsyscliinformationaboutandroidgetsystem
mobile
Problem
How to use the
dumpsys command: Get information about Android system services. This command can only be used through adb shell. More information: <https://developer.android.com/tools/dumpsys>.Solution
dumpsys — Get information about Android system services. This command can only be used through adb shell. More information: <https://developer.android.com/tools/dumpsys>.Get diagnostic output for all system services:
dumpsysGet diagnostic output for a specific system service:
dumpsys {{service}}List all services
dumpsys can give information about:dumpsys -lList service-specific arguments for a service:
dumpsys {{service}} -hExclude a specific service from the diagnostic output:
dumpsys --skip {{service}}Specify a [t]imeout period in seconds (defaults to 10s):
dumpsys -t {{8}}Code Snippets
Get diagnostic output for all system services
dumpsysGet diagnostic output for a specific system service
dumpsys {{service}}List all services `dumpsys` can give information about
dumpsys -lList service-specific arguments for a service
dumpsys {{service}} -hExclude a specific service from the diagnostic output
dumpsys --skip {{service}}Context
tldr-pages: android/dumpsys
Revisions (0)
No revisions yet.