如何查看WIFImanager进程的内存占用情况?

melody 显示全部楼层 发表于 2023-10-30 10:19:10

如何查看WIFImanager进程的内存占用情况?

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论2

深开鸿_张亮亮

沙发 发表于 2023-10-30 11:02:32
运行 hidumper --mem [pid] 命令获取全部的内存使用信息。如果指定进程的pid,只获取该进程的内存使用情况。
  1. hidumper --mem [pid]
复制代码

深开鸿_王石

板凳 发表于 2023-11-1 16:48:02

这是hidumper的help,有两个看内存的方式,简单看也可以看top -p pid,但是其实也有可能是别的方式占用内存,cat /proc/pid/status,都行

hidumper -help

usage: -h |help text for the tool -lc |a list of system information clusters -ls |a list of system abilities -c |all system information clusters -c [base system] |system information clusters labeled "base" and "system" -s |all system abilities -s [SA0 SA1] |system abilities labeled "SA0" and "SA1" -s [SA] -a ['-h'] |system ability labeled "SA" with arguments "-h" specified -e |faultlogs of crash history --net |dump network information --storage |dump storage information -p |processes information, include list and infromation of processes and threads -p [pid] |dump threads under pid, includes smap, block channel, execute time, mountinfo --cpuusage [pid] |dump cpu usage by processes and category; if PID is specified, dump category usage of specified pid --cpufreq |dump real CPU frequency of each core --mem [pid] |dump memory usage of total; dump memory usage of specified pid if pid was specified --zip |compress output to /data/log/hidumper --mem-smaps pid [-v] |display statistic in /proc/pid/smaps, use -v specify more details

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部