2021-04-14 21:21:59 +01:00
|
|
|
# dumpsys
|
|
|
|
|
2024-04-25 23:58:21 +01:00
|
|
|
> Get information about Android system services.
|
2021-04-22 21:09:21 +01:00
|
|
|
> This command can only be used through `adb shell`.
|
2024-02-16 15:37:37 +00:00
|
|
|
> More information: <https://developer.android.com/tools/dumpsys>.
|
2021-04-14 21:21:59 +01:00
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
2024-02-09 14:34:08 +00:00
|
|
|
- Specify a [t]imeout period in seconds (defaults to 10s):
|
2021-04-14 21:21:59 +01:00
|
|
|
|
2023-02-22 08:22:36 +00:00
|
|
|
`dumpsys -t {{8}}`
|