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)。
- 大頁面
- 表示進程的大頁面狀態?!?tt class="xph">M”表示強制性,“Y”表示進程使用或已經使用大頁面段,“N”表示進程不使用大頁面。
如果定義了大頁池,那么在不同頁面大小間的分布跟隨這些信息。
顯示進程信息之后,svmon 顯示關于進程使用的所有段的信息。段落段報告描述了段的信息。
如果指定了 -q 標志,那么只報告標記為大頁面進程(LPage)的進程。注意要報告這些進程中所有的段。如果指定了一列進程,那么就會向未標記為大頁面的每個進程報告錯誤。
段報告
只有指定了 -S 標志,才打印段報告。段報告中的列標題是:
- Vsid
- 表示虛擬段標識符。表示在虛擬內存管理器中的唯一段。
- Esid
- 表示有效的段標識符。Esid 只有在段屬于進程的地址空間時才有效。提供時,它表示進程如何使用段。如果 vsid 段被幾個進程映射,但具有不同的 esid 值, 那么該字段包含“-”。如果是那樣的話,那么通過應用于使用該段的每個進程標識符的
-P 標志,可以獲得精確的 esid 值。因為用于管理打開的文件或多線程結構的段不是進程的用戶地址空間的一部分,所以也對這些段顯示“-”。
- 類型type
- 表示段的類型:
- 持久表示持久的段
- 工作表示工作段
- 客戶表示客戶段
- 映射表示映射的段
- 實映射表示實內存映射段
- 描述 description
- 給出段的文本描述。列的內容取決于段的類型和用途
posted on 2012-02-22 23:18
mixer-a 閱讀(156)
評論(0) 編輯 收藏