当前位置:网站首页>抓取开机logcat
抓取开机logcat
2022-06-23 22:28:00 【一棵树是码农】
工作中遇到一个问题,想抓开机Log中关于service init的log信息,但是通过
adb reboot
adb wait-for-device
adb logcat > LOG.log这种方式一直抓不到,后面用了这种方法得以解决,特此记录下。
首先在后台抓log:
logcat -c;logcat -v threadtime >/data/20-1.log&
pgrep composer //查找关键字composer所在进程pid
kill composer_pid //kill composer进程
通过该方法,成功抓取我想要的开机进程信息。
边栏推荐
- Complete collection of development environment configuration -- Visual Studio 2022 installation
- After the deployment of Beidou navigation system, why didn't we launch a high-precision map similar to Google maps?
- 微信小程序中three.js的canvas非全屏情况下射线检测不准确问题解决方案
- Security | warm tips: security incidents on the cloud have intensified recently. Please do a good job in backup monitoring of cloud security protection!
- Mip-NeRF:抗混叠的多尺度神经辐射场ICCV2021
- 985本3Android程序员40天拿下阿里P6口头offer,面试成功后整理了这些面试思路
- Drag and drop report design - new features of jimureport 1.4.0
- Comment utiliser l'entrepôt de données pour créer une table de synchronisation
- Common WebGIS Map Libraries
- 【第25天】给定一个长度为 n 的数组,统计每个数出现的次数 | 计数哈希
猜你喜欢

量化投资模型——高频交易做市模型相关(Avellaneda & Stoikov’s)研究解读&代码资源

Index principle and filling factor in database

Save: software analysis, verification and test platform

windows10安全模式进入循环蓝屏修复

Synthetic big watermelon games wechat applet source code / wechat game applet source code

Cloud native architecture (05) - Application Architecture Evolution

社招面试必不可少——《1000 道互联网大厂 Android工程师面试题》

Accompanist组件库中文指南 - Glide篇,劲爆

Use of reverse tools IDA and GDB

Android AIDL:跨进程调用Service (AIDL Service),kotlininvoke函数
随机推荐
Android 7,2021最新Android面试笔试题目分享
MySQL architecture (basic)
量化投资模型——高频交易做市模型相关(Avellaneda & Stoikov’s)研究解读&代码资源
社招面试必不可少——《1000 道互联网大厂 Android工程师面试题》
纯js实现判断ip是否ping通
I was cheated by my colleagues to work overtime on weekends. I haven't seen redis used like this...
混沌工程,了解一下
Android 3年外包工面试笔记,有机会还是要去大厂学习提升,作为一个Android程序员
被同事坑到周末加班, 没见过把Redis用成这个鬼样子的。。。
Six necessary open source projects for private activities
Complete open source project poetry bar app
Usage of go in SQL Server
Drag and drop report design - new features of jimureport 1.4.0
Perfectionist win10 installation guide
【虹科案例】3D数据如何成为可操作的信息?– 对象检测和跟踪
All 32 keyword classifications of C language C89 (C90)
[FreeRTOS] 07 binary semaphore and count semaphore
Android - JNI 开发你所需要知道的基础,Android工程师面试题
毕业设计-论文写作笔记【毕设题目类型、论文写作细节、毕设资料】
利用Scanorama高效整合异质单细胞转录组