Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Limit output of `adb shell dumpsys alarm`

I want to use the adb shell dumpsys alarm to debug some alarms I'm setting but it is producing a huge amount of data is there any way to limit the output to just a certain app?

I tried this to no avail: adb shell dumpsys com.mypackage

like image 940
Emil Davtyan Avatar asked Feb 21 '13 09:02

Emil Davtyan


1 Answers

I want to use the adb shell dumpsys alarm to debug some alarms I'm setting but it is producing a huge amount of data is there any way to limit the output to just a certain app?

No, but command line utilities like grep and fgrep can show you snippets of the output that refer to some string, such as your package name.

like image 137
CommonsWare Avatar answered Oct 19 '22 20:10

CommonsWare