AIX中svmon -P命令详解

svmon -P -t 3 -i 5,该命令每5秒种输出一次最耗内存的前3个进程

(输出省略了一部分)

说明(为了表述明确,分别贴出了中英文对照)

Process Report

The process report is printed when the -P flag is specified. The column headings in a process report are:
Pid
Indicates the process ID.
Command
Indicates the command the process is running.
Inuse
Indicates the total number of pages in real memory in segments that are used by the process.
Pin
Indicates the total number of pages pinned in segments that are used by the process.
Pgsp
Indicates the total number of pages reserved or used on paging space by segments that are used by the process.
Virtual
Indicates the total number of pages allocated in the process virtual space.
64-bit
Indicates if the process is a 64 bit process (Y) or a 32 bit process (N).
Mthrd
Indicates if the process is multi-threaded (Y) or not (N).
16MB
Indicates the 16MB page status of the process. "M" stands for mandatory, "Y" means that the process uses or has used
16MB page segments and "N" means that the process does not use 16MB pages.

If the process uses pages of a size other than the base 4KB page size, these statistics are followed by the
distribution between the different page sizes.

After process information is displayed, svmon displays information about all the segments the process uses. Information
about segment are described in the paragraph Segment Report

If the -q flag is specified, only processes using segments of the requested size are reported. Note that all of the
segments for these processes are reported. If a list of processes is specified, an error is reported for each process not
using segments of the requested size.

进程报告

只有指定了 -P 标志,才打印进程报告。进程报告中的列标题是:

Pid
表示进程标识符。
命令
表示进程在运行的命令。
正在使用
表示进程使用的段中的实内存的页面总数。
固定内存
表示进程使用的段中固定内存的页面总数。
调页空间
表示进程使用的段在调页空间上保留或使用的页面总数。
虚拟
表示在进程虚拟空间中分配的页面总数。
64 位
表示该进程是否是 64 位进程(Y)或 32 位进程(N)。
多线程
表示该进程是否是多线程的(Y)或不是多线程的(N)。
大页面
表示进程的大页面状态。“ M”表示强制性,“ Y”表示进程使用或已经使用大页面段,“ N”表示进程不使用大页面。

如果定义了大页池,那么在不同页面大小间的分布跟随这些信息。

显示进程信息之后,svmon 显示关于进程使用的所有段的信息。段落段报告描述了段的信息。

如果指定了 -q 标志,那么只报告标记为大页面进程(LPage)的进程。注意要报告这些进程中所有的段。如果指定了一列进程,那么就会向未标记为大页面的每个进程报告错误。

段报告

只有指定了 -S 标志,才打印段报告。段报告中的列标题是:

Vsid
表示虚拟段标识符。表示在虚拟内存管理器中的唯一段。
Esid
表示有效的段标识符。Esid 只有在段属于进程的地址空间时才有效。提供时,它表示进程如何使用段。如果 vsid 段被几个进程映射,但具有不同的 esid 值, 那么该字段包含“-”。如果是那样的话,那么通过应用于使用该段的每个进程标识符的 -P 标志,可以获得精确的 esid 值。因为用于管理打开的文件或多线程结构的段不是进程的用户地址空间的一部分,所以也对这些段显示“-”。
类型type
表示段的类型:
  • 持久表示持久的段
  • 工作表示工作段
  • 客户表示客户段
  • 映射表示映射的段
  • 实映射表示实内存映射段
描述 description
给出段的文本描述。列的内容取决于段的类型和用途

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值