23.10.2014 Views

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

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.

Note: The variable capacity weight is zero in this example, as the partiti<strong>on</strong><br />

mode is capped, as can be seen from line five of the output.<br />

Note: The output format of the lparstat command varies, depending <strong>on</strong> the<br />

partiti<strong>on</strong> c<strong>on</strong>figurati<strong>on</strong> (SMT <strong>on</strong>/off, shared or dedicated processors). This<br />

makes its parsing with sed, awk, cut, perl, and the like somewhat problematic.<br />

The mpstat command<br />

The mpstat command collects and displays performance statistics for all logical<br />

CPUs in a partiti<strong>on</strong>. The interpretati<strong>on</strong> of many of the figures displayed by this<br />

command requires an understanding of <str<strong>on</strong>g>POWER</str<strong>on</strong>g> Hypervisor and the <str<strong>on</strong>g>POWER</str<strong>on</strong>g>5<br />

processor. The mpstat command flags are shown in Table 5-1.<br />

Table 5-1 mpstat command flags<br />

Command Flags Functi<strong>on</strong><br />

mpstat n<strong>on</strong>e Displays the default statistics; a subset of the -a flag.<br />

-a Displays all 29 logical processor statistics.<br />

-i Displays the interrupt statistics; a subset of the -a flag.<br />

-d Displays the processor affinity and migrati<strong>on</strong> statistics for<br />

AIX 5L threads and dispatching statistics for logical<br />

processors. A subset of the -a flag.<br />

-s Shows the SMT usage statistics when SMT is enabled. This<br />

data is not shown with the -a flag.<br />

When the mpstat command is invoked, it displays two secti<strong>on</strong>s of statistics. The<br />

first secti<strong>on</strong> displays the system c<strong>on</strong>figurati<strong>on</strong>, which is displayed when the<br />

command starts and whenever there is a change in the system c<strong>on</strong>figurati<strong>on</strong>.<br />

The sec<strong>on</strong>d secti<strong>on</strong> displays the utilizati<strong>on</strong> statistics, which will be displayed in<br />

intervals and at any time the values of these metrics are deltas from a pervious<br />

interval.<br />

An opti<strong>on</strong>al -w flag switches <strong>on</strong> wide screen output.<br />

340 <str<strong>on</strong>g>Advanced</str<strong>on</strong>g> <str<strong>on</strong>g>POWER</str<strong>on</strong>g> <str<strong>on</strong>g>Virtualizati<strong>on</strong></str<strong>on</strong>g> <strong>on</strong> <strong>IBM</strong> <strong>System</strong> <strong>p5</strong>

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

Saved successfully!

Ooh no, something went wrong!