加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-14 20:03
#
文件名称:
pmm.md
所在目录:
Openharmony v1.0 / docs / docs-en / kernel
文件大小:
5.42 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# pmm
## Command Function
This command is used to check the usage of the physical pages and page cache of the system memory.
## Syntax
pmm
## Parameter Description
None
## Usage
This command is available only in the **Debug** version.
## Example
Enter **pmm**.
## Output
**Figure 1** Viewing the usage of physical pages
![](figures/viewing-the-usage-of-physical-pages.png "viewing-the-usage-of-physical-pages")
**Table 1** Output description

































Parameter


Description


phys_seg


Indicates the address of the physical page control block.


base


Indicates the first physical page address, that is, start address of the physical page memory.


size


Indicates the size of the physical page memory.


free_pages


Indicates the number of idle physical pages.


active anon


Indicates the number of active anonymous pages in the page cache.


inactive anon


Indicates the number of inactive anonymous pages in the page cache.


active file


Indicates the number of active file pages in the page cache.


inactive file


Indicates the number of inactive file pages in the page cache.


pmm pages


  • total: indicates the total number of physical pages.
  • used: indicates the number of used physical pages.
  • free: indicates the number of idle physical pages.

点赞 回复
回帖
支持markdown部分语法 ?