1 Star 0 Fork 4.9K

fish / docs

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

vmm

Command Function

This command is used to query the virtual memory usage of a process.

Syntax

vmm [-a / -h / --help]

vmm [pid]

Parameter Description

Table 1 Parameters

Parameter

Description

Value Range

-a

Displays the virtual memory usage of all processes.

N/A

-h | --help

Displays the help information.

N/A

pid

Indicates the ID of the process to query.

[0, 63]

Usage

By default, the virtual memory usage of all processes is displayed.

Example

Enter vmm 3.

Output

Figure 1 Virtual memory usage of the process with PID 3

Table 2 Basic process information

Parameter

Description

PID

Indicates the process ID.

aspace

Indicates the address of the virtual memory control block.

name

Indicates the process name.

base

Indicates the start address of the virtual memory.

size

Indicates the size of virtual memory.

pages

Indicates the number of used physical pages.

Table 3 Virtual memory region information

Parameter

Description

region

Indicates the address of the control block in the virtual memory region.

name

Indicates the name of the virtual memory region.

base

Indicates the start address of the virtual memory region.

size

Indicates the size of the virtual memory region.

mmu_flags

Indicates the MMU mapping attribute of the virtual memory region.

pages

Indicates the number of used physical pages (including the shared memory).

pg/ref

Indicates the number of used physical pages.

1
https://gitee.com/fish_neil/docs.git
git@gitee.com:fish_neil/docs.git
fish_neil
docs
docs
master

搜索帮助