1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 03:22:08 +02:00
tldr/pages/android/dumpsys.md
2021-04-22 21:09:21 +01:00

659 B

dumpsys

Provide information about Android system services. This command can only be used through adb shell. More information: https://developer.android.com/studio/command-line/dumpsys.

  • Get diagnostic output for all system services:

dumpsys

  • Get diagnostic output for a specific system service:

dumpsys {{service}}

  • List all services dumpsys can give information about:

dumpsys -l

  • List service-specific arguments for a service:

dumpsys {{service}} -h

  • Exclude a specific service from the diagnostic output:

dumpsys --skip {{service}}

  • Specify a timeout period in seconds (defaults to 10s):

dumpsys -t {{seconds}}