当前位置:网站首页>抓取开机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进程
通过该方法,成功抓取我想要的开机进程信息。
边栏推荐
- String s = new String(“xyz“) 创建了几个字符串对象?
- 纯js实现判断ip是否ping通
- Salesforce batch apex batch processing (V) asyncapexjob intelligence
- Jeecgboot old version 2 x 3. X how to integrate building block reports?
- 云原生架构(05)-应用架构演进
- js 语言 精度问题
- Delegation attack of Intranet penetration and lateral mobility
- 毕业设计-论文写作笔记【毕设题目类型、论文写作细节、毕设资料】
- Hackers can gain administrator privileges by invading Microsoft mail server and windows Zero Day vulnerability November 23 global network security hotspot
- C语言:利用自定义函数排序
猜你喜欢

物联网卡设备接入EasyCVR,如何查看拉流IP以及拉流时间?

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

Dependency Inversion Principle

混沌工程,了解一下

Six necessary open source projects for private activities

kubernetes之常用核心资源对象

【面试经验包】面试被吊打经验总结(一)

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

Learn PWN from CTF wiki - ret2text

Cloud native architecture (05) - Application Architecture Evolution
随机推荐
Superscalar processor design yaoyongbin Chapter 3 virtual memory -- Excerpt from subsection 3.1~3.2
Don't miss | Huawei's internal data - Successful Project Management PPT (page 123)
C语言:递归实现N的阶乘
What is the difference between concurrency and parallelism?
规律/原理/规则/法则/定理/公理/本质/定律
Use of reverse tools IDA and GDB
Android App Bundle探索,客户端开发面试题目
Throttling and anti shake
Another short video app with high imitation and eye opening
医疗是什么?AI医疗概念解析AI
【FreeRTOS】07 二值信号量、计数信号量
Design of message push platform
Startup process analysis of APP performance optimization
Jimureport building block report - table linkage chart topic
逆向工具IDA、GDB使用
[technical grass planting] Tencent Yunhao wool (consumption) record on the double 11
Nice input edit box
【虹科案例】3D数据如何成为可操作的信息?– 对象检测和跟踪
Using anydesk remote control for intranet penetration horizontal movement
逻辑的定义