当前位置:网站首页>adb循环输出内存信息到文件夹
adb循环输出内存信息到文件夹
2022-06-10 23:58:00 【猿小帅01】
adb循环输出内存信息到文件夹
while true;do cat proc/meminfo| grep Mem >> data/data/memtotal.txt;sleep 1;done
##注意 : > 会覆盖上次输出
1.常见的shell命令记录
- 查看内存信息
dumpsys meminfo
- 查看应用启动时间
adb logcat -c && adb logcat -f /mnt/sdcard/up.txt -s ActivityManager
-c 清屏
-f 指定运行结果输出文件,默认输出到标准设备(一般是显示器
-s 设置默认的过滤级别为Silent
tag 仅显示priority/tag
- 查看电池信息
dumpsys battery
- 查看内存详细信息
adb shell cat /proc/meminfo
- 查看设备节点内存
adb shell df
边栏推荐
猜你喜欢
随机推荐
Automated test series
Small project on log traffic monitoring and early warning | environment foundation 2
Complete collection of MySQL exercises (with answers) - you will know everything after practice
自动化测试系列
[network planning] 3.2 transport layer - UDP: connectionless service
Win11 uninstall widget
UUID quick explanation
Detailed explanation of five types of load balancing principle scenarios
compiler explorer
如何在office2016(word2016)中安装mathtype6.9及相关问题解决方案
[论文阅读] FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence
logback日志框架
【ROS入门教程】---- 01 ROS介绍
How to solve the deep paging problem in large factories (easy to understand)
Pirate OJ 146 character string
Promise
The principle and source code interpretation of executor thread pool in concurrent programming
Deep copy and shallow copy in golang
About log traffic monitoring and early warning small project | flask
扎实的基础知识+正确的方法是快速阅读源码的关键









