21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The memory columns<br />

The memory columns provide information about the real and virtual memory.<br />

Under memory for the vmstat command are two additional columns, avm and fre.<br />

The avm column<br />

The avm (Active Virtual Memory) column gives the average number of 4-KB<br />

pages that are allocated to paging space. The avm value can be used to<br />

calculate the amount of paging space assigned to executing processes.<br />

Note: The vmstat command (avm column), ps command (SIZE, SZ), and<br />

other utilities report the amount of virtual memory actually accessed, but with<br />

delayed page space algorithm, the paging space may not get touched. The<br />

svmon command (up through <strong>AIX</strong> Version 4.3.2) shows the amount of paging<br />

space being used, so this value may be much smaller than the avm value of<br />

the vmstat command.<br />

For more information on DPSA, see the <strong>IBM</strong> ^ Certification<br />

Study Guide - <strong>AIX</strong> <strong>5L</strong> Performance and System Tuning, SG24-6184.<br />

The number in the avm field divided by 256 will yield the approximate number of<br />

megabytes (MB) allocated to the paging space system wide. Prior to <strong>AIX</strong> Version<br />

4.3.2, the same information is reflected in the Percent Used column of the lsps<br />

-s command output or with the svmon -G command under the page space inuse<br />

field, pg.<br />

The fre column<br />

The fre column shows the average number of free memory pages. A page is a<br />

4-KB area of real memory. The system maintains a buffer of memory pages,<br />

called the free list, that will be readily accessible when the VMM needs space.<br />

The minimum number of pages that the VMM keeps on the free list is determined<br />

by the minfree parameter of the vmtune command. When an application<br />

terminates, all of its working pages are immediately returned to the free list. Its<br />

persistent pages (files), however, remain in RAM and are not added back to the<br />

free list until they are stolen by the VMM for other programs. Persistent pages<br />

are also freed if the corresponding file is deleted.<br />

For this reason, the fre value may not indicate all the real memory that can be<br />

readily available for use by processes. If a page frame is needed, then persistent<br />

pages related to terminated applications are among the first to be handed over to<br />

another program.<br />

The page columns<br />

The page columns show information about page faults and paging activity.<br />

These are averaged over the interval and given in units per second.<br />

248 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!