adb 查看移动端性能数据 在powershell里面执行./adb shell top -d 1 -n 4 | find “‘com.yunjihk.helement’” 不加''出现find 参数格式不正确。不用进入adb 文件系统里面 在cmd里面 不用加‘’
PID USER PR NI CPU% S thr VSS RSS PCY Name
1891 u0_a60 10 -10 8% S 57 1318196K 170696K ta com.smarteye.mpu
2334 u0_a60 20 0 1% S 15 1157404K 97504K fg com.smarteye.mpu:remote
1891 u0_a60 10 -10 12% S 57 1318496K 170692K ta com.smarteye.mpu
2334 u0_a60 20 0 0% S 15 1157404K 97420K fg com.smarteye.mpu:remote
1891 u0_a60 10 -10 12% S 57 1318216K 170684K ta com.smarteye.mpu
2334 u0_a60 20 0 0% S 15 1157404K 97420K fg com.smarteye.mpu:remote
1891 u0_a60 10 -10 12% S 57 1318216K 170768K ta com.smarteye.mpu
2334 u0_a60 20 0 0% S 15 1157404K 97560K fg com.smarteye.mpu:remote
PID:进程ID
PR:优先级
CPU% 当前瞬时CPU占用率
S 进程状态:D=不可中断的睡眠状态,R=运行,S=睡眠,T=跟踪/停止,Z=僵尸进程
thr 程序当前所用的线程数
VSS 虚拟耗用内存(包含共享库占用的内存)
RSS 实际使用的物理内存(包含共享库占用的内存)
PCY 调度策略优先级
Name 进程名称