mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 06:52:51 +00:00
Update cheatsheets
This commit is contained in:
34
android/dumpsys
Normal file
34
android/dumpsys
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, android]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dumpsys
|
||||
|
||||
> Provide 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:
|
||||
|
||||
`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 [t]imeout period in seconds (defaults to 10s):
|
||||
|
||||
`dumpsys -t {{8}}`
|
||||
Reference in New Issue
Block a user