dumpsys: add page (#5739)
This commit is contained in:
28
pages/android/dumpsys.md
Normal file
28
pages/android/dumpsys.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# dumpsys
|
||||||
|
|
||||||
|
> Provide information about Android system services.
|
||||||
|
> 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}}`
|
Reference in New Issue
Block a user