adb shell 查看程序進程

顯示包名爲com.tracy.testlab下的全部進程web

顯示uid 爲u0_a355下的全部進程shell

adb shell微信

shell@a5ltechn:/ $ ps|grep com.tracy.testlab                                   
u0_a355   11026 242   926276 43340 ffffffff 00000000 S com.tracy.testlab
shell@a5ltechn:/ $ ps|grep -u u0_a355
u0_a355   11026 242   926276 43340 ffffffff 00000000 S com.tracy.testlabapp

獲取當前運行的activityui

shell@a5ltechn:/ $ dumpsys activity top|grep ACTIVITY.net

獲取更多詳細的信息,包括 : $ dumpsys activity activitiesblog

 

發現一些app會把webview單開一個進程,好比微信、美團,有待研究他們是怎麼作的進程

2017.5 補答上面的問題webview

http://www.javashuo.com/article/p-vjbqpuan-nb.htmlget

轉的http://blog.csdn.net/yes_wentao/article/details/50651399 的文章

相關文章
相關標籤/搜索