HP B.06.X manual Usr/sbin/sar -uM /tmp/sarOut /tmp/sarOut.report

Page 64

Special Considerations

Verifying PPU Utilization Information

 

 

samples taken. In this example, there are 12 utilization samples taken

 

 

every 5 minutes; therefore, one hour of utilization data is collected.

 

 

Because the PPU web portal also reports in 5 minute increments, it is

 

 

recommended to use a 5 minute interval duration with the sar

 

 

command. You can vary the amount of sar information with its last

 

 

argument.

Step

2. After Step 1 has completed, execute the following command:

 

 

/usr/sbin/sar -uM /tmp/sarOut > /tmp/sarOut.report

 

 

The above command takes the binary output from the sar command in

 

 

Step 1, convert it into a readable (text) format, and capture the text

 

 

report in the file /tmp/sarOut.report.

Step

3.

Go to the PPU web portal and locate the processor utilization report(s)

 

 

for the PPU system/partition and the same duration of time used in Step

 

 

1. The PPU web portal is located at: http://www.hp.com/go/payperuse

Step

4.

Validate the processor utilization numbers from the PPU web portal

 

 

report(s) and the processor utilization numbers from the sar command,

 

 

which is located in the file /tmp/sarOut.report.

There are a few differences between the PPU web portal report and the information from the sar command. Specifically:

The sar command reports the processor as the system/partition’s SPU number and the PPU web portal report uses the CPU ID.

For the same 5 minute interval, the sar command’s timestamp is for the end of the interval and the PPU web portal report’s timestamp is for the beginning of the interval. For example, you would compare the sar utilization numbers for 12:05pm to the PPU web portal report utilization numbers for 12:00pm.

To verify processor percent utilization numbers, you need to sum the two sar report columns “%usr” and “%sys”, and compare them against the PPU web portal report’s percent utilization.

The sar command rounds processor percent utilization up to the nearest integer; therefore, the numbers can vary by one percent.

64

Appendix B

Image 64
Contents Pay Per Use PPU User’s Guide for Versions B.06.x Fifth EditionRestricted Rights Legend WarrantyCopyright Notices Trademark Notices Publication History Docs.hp.comUser input Ls -a -iPage Contents Using the PPU Software About this guide Introduction How to Use this GuideWelcome HP On Demand Solutions Program ICODOverview System OverviewHttps Client Utility Meter Usage Database Http//software.hp.com Most Recent PPU Version and Supported PlatformsPPU Supported Hardware Platforms PPU Information PPU User’s Guide HistoryLocating the PPU User’s Guide for versions B.06.x ManpagesPPU Information Chapter Understanding PPU RequirementsPPU Program Requirements HP-UX 11i v2 Requirements PPU Software RequirementsFor PPU Versions B.06.x on HP-UX 11i HP-UX 11i v1 Requirements Required Patches for PPU on HP-UX 11iPPU System Move Requirements PPU System Move Requirements Chapter Installing and Configuring PPU SoftwareUsr/sbin/ppuconfig -t Getting StartedStep Usr/bin/ps -e grep ppudInstalling PPU Software How To Find The Latest PatchesFor HP-UX 11i v1 or 11i v2 Installing from the OE MediaSwinstall -s /cdrom T2351AA For HP-UX 11i v1 or 11i v2 Installing from the ARMount -r /dev/dsk/c1t2d0 /cdrom For HP-UX 11i v1 or 11i v2 Installing from the HP Swinstall -s \Software Depot Var/tmp/T2351AAB.06.04 HP-UXB.11.2332+64.depot ’*’Configuring the Utility Meter required Configuring PPU SoftwareUsr/sbin/ppuconfig -m meter Configuring the Proxy Server if necessary Configuring the System Identifier if desiredUsr/sbin/ppuconfig -p proxyport Usr/sbin/ppuconfig -uUsr/sbin/ppuconfig Viewing the System SettingsVerifying the https Connection Manually Starting the ppud Daemon Sbin/init.d/ppu startRe-installing PPU Software Usr/sbin/swremove -x enforcescripts=false T2351AA Un-installing PPU SoftwareUsr/sbin/swlist grep T2351AA Using the PPU Software PPU Web Portal PPU Usage Report Example 4-1 PPU 6.x Usage ReportCPUID5/CPUID PPU Usage Report PercentCPUUsage63.000/PercentCPUUsage UsageEntry -UsageEntry CPUID4/CPUID Administration for nPartitions for details Understanding Utilization CappingNew Partition Creation New Partition Creation Chapter Troubleshooting Troubleshooting the PPU Software Usr/sbin/swverify T2351AAPPU Executable and Configuration Files Troubleshooting the PPU Software Chapter Frequently Asked Questions Pay Per Use Program What is pay per use?Is pay per use the same as leasing? Pay Per Use Software What software product is required for PPU systems?When is information sent by the PPU software? How many usage reports are retained on the PPU system?Open Source and Licenses Open Source Components Curl Mitx License PPU software is released under the following licenseOpenSSL License Following license applies to OpenSSL with libcryptoOpenSSL License OpenSSL License Special Considerations Export Issues Reboot -R -H Shutdown -R -H Inactive Partitions in PPU SystemsInactive Partitions in PPU Systems Verifying PPU Utilization Information Usr/bin/nice --10 /usr/sbin/sar -o /tmp/sarOut 300Usr/sbin/sar -uM /tmp/sarOut /tmp/sarOut.report Glossary Configured processors PPU TerminologyPay per use PPU Terminology Appendix C PPU Manpages Ppu 5 Manpage DescriptionPpud 1M Manpage Ppuconfig 1M, ppu Ppuconfig 1M Manpage Return Values OptionsFiles Ppuconfig 1M Manpage Appendix D Index Index