mirror of
https://github.com/imcarlost/pidcat-repl.git
synced 2026-08-08 23:17:43 -04:00
d1ca77b0e9a950fe8b9e57ee1ff7f6d221548974
It will pass the '-s serial_number' option to adb to select which device to monitor
PID Cat
An update to Jeff Sharkey's excellent logcat color script which only shows log entries for processes from a specific application package.
During application development you often want to only display log messages coming from your app. Unfortunately, because the process ID changes every time you deploy to the phone it becomes a challenge to grep for the right thing.
This script solves that problem by filtering by application package. Supply the target package as the sole argument to the python script and enjoy a more convenient development process.
./pidcat.py com.oprah.bees.android
Here is an example of the output when running for the Google Plus app:
Description
REPL version of the popular logcat script that shows log entries for a specific application package.
6.4 MiB
Languages
Python
78.7%
Shell
21.3%
