Global report
To print the Global report, specify the -G flag. The Global report displays a system-wide detailed real memory view of the machine. This report contains various summaries, only the memory and inuse summaries are always displayed.
When the -O summary option is not used, or when it is set to -O summary=basic, the column headings used in global reports summaries are:
- memory
- Specifies statistics describing the use of memory, including:
- size
- Number of frames (size of real memory) Tip: This does not include the free frames that have been made unusable by the memory sizing tool, the rmss command.
- inuse
- Number of frames containing pages Tip: On a system where a reserved pool is defined (such as the 16 MB page pool), this value includes the frames reserved for any of these reserved pools, even if they are not used.
- free
- Number of frames free in all memory pools. There may be more memory available depending on the file cache (see: available)
- pin
- Number of frames containing pinned pages Tip: On a system where a reserved pool is defined (such as the 16 MB page pool), this value includes the frames reserved for any of these reserved pools.
- virtual
- Number of pages allocated in the system virtual space
- available
- Amount of memory available for computational data. This metric is calculated based on the size of the file cache and the amount of free memory.
- stolen
- Displayed only when rmss runs on the machine. Number of frames stolen by rmss and marked unusable by the VMM
- mmode
- Indicates the memory mode the system is running. Following are the current possible values for mmode.
- Ded
- Neither Active Memory Sharing nor Active Memory Expansion is enabled.
- Shar
- Only Active Memory Sharing is enabled, Expansion in not enabled.
- Ded-E
- Active Memory Sharing is not enabled but Expansion is enabled.
- Shar-E
- Both Active Memory Sharing & Active Memory Expansion are enabled.
- ucomprsd
- This gives a breakdown of expanded memory statistics in the uncompressed pool, including: inuse Number of uncompressed pages that are in use.
- comprsd
- This gives a breakdown of expanded memory statistics in the compressed pool, including: inuse Number of compressed pages in the compressed pool.
- pg space
- Specifies statistics describing the use of paging space.
- size
- Size of paging space
- inuse
- Number of paging space pages used
- ucomprsd
- This gives a breakdown of expanded memory statistics of working pages in the uncompressed pool, including: inuse Number of compressed pages in the compressed pool.
- comprsd
- This gives a breakdown of expanded memory statistics of working pages in the compressed pool, including: inuse Number of compressed pages in the compressed pool.
- Pin
- Specifies statistics on the subset of real memory containing pinned
pages, including:
- work
- Number of frames containing working segment in use pages
- pers
- Number of frames containing persistent segment in use pages
- clnt
- Number of frames containing client segment in use pages
- other
- Number of frames containing all memory pages that do not use segment control blocks. Examples for these memory pages are physical to virtual page tables (PVT), physical to virtual page lists (PVLIST), and kernel special purpose (KSP) region.
- in use
- Specifies statistics on the subset of real memory in use, including:
- work
- Number of frames containing working segment in use pages
- pers
- Number of frames containing persistent segment in use pages
- clnt
- Number of frames containing client segment in use pages
- ucomprsd
- This gives a breakdown of expanded memory statistics of working pages in the uncompressed pool, including: inuse Number of uncompressed pages in the compressed pool.
- comprsd
- This gives a breakdown of expanded memory statistics of working pages in the compressed pool, including: inuse Number of compressed pages in the compressed pool.
- PageSize
- Displayed only if alternative page sizes (non-4KB) are available
on the system and the option -O pgsz=on is set. It displays
separate sets of statistics for each of the page sizes available on
the system.
- PageSize
- Page size for the following statistics
- PoolSize
- Number of pages in the pool for a page size using reserved pools (such as the 16 MB page pool)
- inuse
- Number of pages of this size that are used
- pgsp
- Number of pages of this size that are allocated in the paging space
- pin
- Number of pinned pages of this size
- virtual
- Number of pages of this size that are allocated in the system virtual space
- ucomprsd
- Number of pages of this size that are in uncompressed form.
- Domain affinity
- Displays statistics per affinity domain. This is activated by
the -O affinity=on option.
- total
- Total memory in this affinity domain.
- used
- Total memory used in this affinity domain.
- free
- Total remaining free memory in this affinity domain
- lcpus
- List of logical cpus in this affinity domain.
When the –O summary=ame option is used in a system with Active Memory Expansion enabled, the following memory information (true memory snapshot) is displayed in the global report summary at the end of the regular report.
- True Memory
- True memory size.
- ucomprsd
- Displays detailed information about the uncompressed pool, including
- CurSz
- Current size of the uncompressed pool.
- %Cur
- Percentage of true memory used by the uncompressed pool
- TgtSz
- Target size of the uncompressed pool needed to achieve the target memory expansion factor.
- % Tgt
- Percentage of true memory that will be used by the uncompressed pool when the target memory expansion factor is achieved.
- comprsd
- Displays detailed information about the compressed pool, including:
- CurSz
- Current size of the compressed pool
- %Cur
- Percentage of true memory used by the compressed pool.
- TgtSz
- Target size of the compressed pool needed to achieve the target memory expansion factor.
- % Tgt
- Percentage of true memory that will be used by the compressed pool when the target memory expansion factor is achieved
- % Max
- Percentage of true memory that will be used by the compressed pool when the compressed pool achieves maximum size.
- CRatio
- Compression ratio
- AME
- Displays the following information
- txf
- Target Memory Expansion Factor
- cxf
- Current Memory Expansion Factor
- dxf
- Deficit factor to reach the target expansion factor
- dxm
- Deficit memory to reach the target expansion
When the -O summary=longreal option is set with -G, the compact report header contains the following metrics:
- Size
- Number of frames (size of real memory) Tip: This includes any free frames that have been made unusable by the memory sizing tool, the rmss command.
- Inuse
- Number of frames containing pages Tip: On a system where a reserved pool is defined (such as the 16 MB page pool), this value includes the frames reserved for any of these reserved pools.
- Free
- Number of frames free in all memory pools. There may be more memory available depending on the file cache (see: available)
- Pin
- Number of frames containing pinned pages Tip: On a system where a reserved pool is defined (such as the 16 MB page pool), this value includes the frames reserved for any of these reserved pools.
- Virtual
- Number of pages allocated in the system virtual space
- Available
- Amount of memory available for computational data. This metric is calculated based on the size of the file cache and the amount of free memory.
- Pgsp
- Number of pages allocated in the paging space
When -G is used in conjunction with -@ the following additional column is displayed:
- WPAR
- WPAR name
- If you specify the -@ flag without a list, the flag has
no effect except when the -O summary option is used, then the
WPAR name is added in the last column.
If a list is provided after the -@ flag, the svmon command report includes one section per WPAR listed. If ALL is specified, a system-wide and a global section will also be present. Any metric not available on a per WPAR basis is either replaced by the corresponding global value (in the case of -@ WparList) or by a "-" (in the case of -@ ALL).
- Global values are displayed instead of a per WPAR metrics. They are flagged by the presence of a @ in the report.
- Some of the metrics are only available on a per WPAR basis if the WLM is used to restrict the WPAR memory usage.
When the -O summary=longameoption is set with -G , the compact report header contains the following Active Memory Expansion metrics
- Size
- Expanded memory size
- Inuse
- Number of pages in use (expanded form).
- Free
- Size of freelist (expanded form).
- DXMSz
- Deficit memory to reach the target memory expansion
- UCMInuse
- Number of uncompressed pages in use.
- CMInuse
- Number of compressed pages in the compressed pool.
- TMSz
- True memory size
- TMFr
- True number of free page frames
- CPSz
- Size of Compressed pool.
- CPFr
- Size of Uncompressed pool.
- txf
- Target Memory Expansion Factor
- cxf
- Current Memory Expansion Factor
- CR
- Compression Ratio.
Examples
- To display the default svmon report, with automatic unit selection,
enter: # svmon -O summary=basic,unit=auto,pgsz=on
or
# svmon -G -O unit=auto,pgsz=onUnit: auto ------------------------------------------------------------------------------- size inuse free pin virtual available memory 31.0G 2.85G 28.1G 1.65G 2.65G 27.3G pg space 512.00M 13.4M work pers clnt other pin 688.57M 0K 0K 924.95M in use 2.65G 0K 124.55M PageSize PoolSize inuse pgsp pin virtual s 4 KB - 2.41G 13.4M 1.34G 2.29G m 64 KB - 376.81M 0K 241.81M 376.81M L 16 MB 5 0K 0K 80.0M 0K
The memory size of the system is 31GB. This size is split into the in-used frames for 2.85 GB and into the free frames for 28.1 GB. 1.65 GB are pinned in memory, 2.65 GB are allocated in the system virtual space and 27.3 GB are available to be used as computational data by new processes.
The inuse and pin values include the pages reserved for the 16 MB page memory pool (80 MB).
The size of the paging space is 512 MB, where 13.4 MB are used.
The pinned frames (1.65 GB) is composed of working segment pinned pages (688.57 MB) and 924.95 MB of other pin pages (can be used by the kernel for example), not counting the memory not used but pinned by the 16 MB page pool.
The number of frames containing pages (2.85 GB) is composed of working segment pages (2.65 GB) and client segment pages (124.55 MB), not counting the memory that is only reserved but counted inuse from the 16 MB pool.
Then statistics are displayed for each page size available on the system. For instance, the 16 MB page pool is composed of 5 pages of 16 MB. None of these are used, none are in the paging space (since they are all pinned), all of these are pinned, and none are in the system's virtual space.
- To also display the affinity domain information, enter: # svmon -G -O unit=MB,pgsz=on,affinity=on
Unit: MB ------------------------------------------------------------------------------- size inuse free pin virtual available memory 31744.00 3055.36 28688.64 1838.84 2859.78 27911.33 pg space 512.00 14.7 work pers clnt other pin 833.90 0 0 924.95 in use 2859.78 0 163.59 PageSize PoolSize inuse pgsp pin virtual s 4 KB - 1628.93 14.7 1291.47 1465.34 m 64 KB - 1346.44 0 467.38 1346.44 L 16 MB 5 48.0 0 80.0 48.0 Domain affinity free used total lcpus 0 14131.05 1475.13 15606.18 0 1 2 3 1 14589.65 1538.35 16128.00 4 5 6 7
In this example taken on a dedicated LPAR partition, we added the domain affinity metrics. The 31744 MB of memory are split into 2 memory affinity domain:- The domain 0 contains 15606.18 MB of memory with 1475.13 MB used, and 14131.05 MB free.
- The domain 1 contains 16128 MB of memory with 1538.35 MB used and 14589.65 MB free.
- To display detailed affinity domain information, enter: # svmon -G -O unit=MB,pgsz=on,affinity=detail
Unit: MB ------------------------------------------------------------------------------- size inuse free pin virtual available memory 31744.00 3055.70 28688.30 1838.91 2860.11 27910.99 pg space 512.00 14.7 work pers clnt other pin 833.96 0 0 924.95 in use 2860.11 0 163.58 PageSize PoolSize inuse pgsp pin virtual s 4 KB - 1629.26 14.7 1291.47 1465.68 Domain affinity used 0 129735 1 44909 m 64 KB - 1346.44 0 467.44 1346.44 Domain affinity used 0 12432 1 8512 L 16 MB 5 48.0 0 80.0 48.0 Domain affinity used 0 4096 1 8192 Domain affinity free used total lcpus 0 14131.05 1475.13 15606.18 0 1 2 3 1 14589.65 1538.35 16128.00 4 5 6 7
In this example, we can see that the breakdown by affinity domain is also shown in the per-page size report. This option takes some time to execute.
- On a shared partition, attempting to display affinity domain information,
results in: # svmon -G -O unit=MB,pgsz=on,affinity=on
Unit: MB ------------------------------------------------------------------------------- size inuse free pin virtual available memory 4096.00 811.59 3284.41 421.71 715.08 3248.66 pg space 512.00 6.23 work pers clnt other pin 284.02 0 0 137.68 in use 715.08 0 96.5 PageSize PoolSize inuse pgsp pin virtual s 4 KB - 506.78 6.23 288.77 410.27 m 64 KB - 304.81 0 132.94 304.81 Domain affinity free used total lcpus *** not supported in shared pools ***
Memory affinity domains only have meaning for dedicated partitions.
- To display the one line global report, enter: # svmon -O summary=longreal
Unit: page ------------------------------------------------------------------------ Memory ----------------------------------------------------------------------- Size Inuse Free Pin Virtual Available Pgsp 262144 187219 74925 82515 149067 101251 131072
The metrics reported here are identical to the metrics in the basic format. There is a memory size of 262144 frames with 187219 frames inuse and 74925 remaining frames. 149067 pages are allocated in the virtual memory and 101251 frames are available.
- To display global memory statistics in MB units at interval, enter: # svmon -G -O unit=MB,summary=shortreal -i 60 5
Unit: MB ------------------------------------------------------------------------------- Size Inuse Free Pin Virtual Available Pgsp 1024.00 709.69 314.31 320.89 590.74 387.95 512.00 1024.00 711.55 312.39 320.94 592.60 386.02 512.00 1024.00 749.10 274.89 322.89 630.15 348.53 512.00 1024.00 728.08 295.93 324.57 609.11 369.57 512.00 1024.00 716.79 307.21 325.66 597.50 381.16 512.00
This example shows how to monitor the whole system by taking a memory snapshot every 60 seconds for 5 minutes.
- To display detailed memory expansion information (in a system
with Active Memory Expansion
enabled), enter: # svmon -G -O summary=ame
Unit: page -------------------------------------------------------------------------------------- size inuse free pin virtual available mmode memory 262144 152619 43061 73733 154779 41340 Ded-E ucomprsd - 98216 - comprsd - 54403 - pg space 131072 1212 work pers clnt other pin 66195 0 0 7538 in use 147831 0 4788 ucomprsd 93428 comprsd 54403 -------------------------------------------------------------------------------------- True Memory: 131072 CurSz %Cur TgtSz %Tgt MaxSz %Max CRatio ucomprsd 105004 80.11 37450 28.57 - - - comprsd 26068 19.89 93622 71.43 45308 34.57 2.45 txf cxf dxf dxm AME 2.00 1.48 0.52 67641
- To display memory expansion information with true memory snapshot
turned-off (in a system with Active
Memory Expansion enabled), enter: # svmon -G -O summary=ame,tmem=off
Unit: page -------------------------------------------------------------------------------------- size inuse free pin virtual available mmode memory 262144 152619 43061 73733 154779 41340 Ded-E ucomprsd - 98216 - comprsd - 54403 - pg space 131072 1212 work pers clnt other pin 66195 0 0 7538 in use 147831 0 4788 ucomprsd 93428 comprsd 54403