当前位置:网站首页>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
边栏推荐
- About the log traffic monitoring and early warning small project | standardized return of interaction with the database in flask
- SqlServer中的鎖
- Optimization of startup under SYSTEMd, deleting useless SYSTEMd services
- Controltemplate in WPF
- Baidu PaddlePaddle paddlepaddle latest series AI course playback address
- Pirate OJ 148 String inversion
- Qt线程与界面
- [论文翻译] Recent Advances in Open Set Recognition: A Survey
- Logback log framework
- How to ensure the sequence of messages, that messages are not lost or consumed repeatedly
猜你喜欢

海贼oj#148.字符串反转

Loop structure statement

compiler explorer

Using solrj to add, delete, modify, and query Solr is too simple

海贼oj#448.抽奖

System interpretation: Authority Design Guide

CentOS实战部署redis

About the log traffic monitoring and early warning small project | standardized return of interaction with the database in flask

循环结构语句

How word removes the header line
随机推荐
扎实的基础知识+正确的方法是快速阅读源码的关键
LeetCode 8. String to integer (ATOI) (medium, string)
Kubernetes入门介绍与基础搭建
海贼oj#448.抽奖
[network planning] 2.4 DNS: directory service of the Internet
Synchronized keyword for concurrent programming
The mystery of number idempotent and perfect square
About log traffic monitoring and early warning small project | database management tool: migrate
MySQL
LeetCode 8. 字符串转换整数 (atoi)(中等、字符串)
【ROS入门教程】---- 02 ROS安装
On the quality assurance system of youzan search V2021
【原】expdp参数CONTENT
A simple understanding of B tree
[kingcraft] 3.1 link layer - functions of data link layer
Complete collection of MySQL exercises (with answers) - you will know everything after practice
Baidu PaddlePaddle paddlepaddle latest series AI course playback address
Kwai handled more than 54000 illegal accounts: how to crack down on illegal accounts on the platform
[论文翻译] Recent Advances in Open Set Recognition: A Survey
Signature verification failed during system application installation