1 Star 0 Fork 4.9K

bill / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pmm.md 5.65 KB
一键复制 编辑 原始数据 按行查看 历史
NEEN 提交于 2021-03-12 17:59 . !197 Docs Update version 1.0.1

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

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.
1
https://gitee.com/ximeibaba/docs.git
git@gitee.com:ximeibaba/docs.git
ximeibaba
docs
docs
master

搜索帮助