HP OpenVMS Systems Documentation

Content starts here
HP Pay per use (PPU) User's Guide for versions 8.x > Chapter 4 Using the PPU Software

PPU Usage Report

  Table of Contents

  Index

The most recent PPU usage report is retained on your partition. On HP-UX systems, you can access this usage report at:
/var/ppu/PPUReport.xml.

Om OpenVMS systems, you can access the usage report at:
SYS$SYSROOT:[PPU]PPUReport.xml;*
The previous 50 versions of the usage report are retained at this location.

On Windows systems, you can access the usage report in the directory where PPU is installed. By default, this location is:
C:\Program Files (x86)\Hewlett-Packard\ppu\PPUReport.xml.

NOTE: If the connection between the PPU software and the utility meter is broken, PPU usage reports are cached to disk (at /var/ppu/cache on HP-UX systems, and at C:\Program Files (x86)\Hewlett-Packard\ppu\cache on Windows systems) until the connection is re-established. After the connection is broken, the PPU software checks for a good connection every 5 minutes. The cached PPU usage reports are encrypted and cannot be viewed.

The PPU usage reports are easier to read if you open them with a browser that can interpret XML, but note that the XML interpretation will also attempt to access the utility meter referenced in the XML file. If your browser does not support XML, or you do not have network access to the utility meter, you can open this file with a text-based editor such as Wordpad on Windows.

Example 4-1 shows a typical PPU usage report from an HP-UX system. For the same type of usage, a report from an OpenVMS or Windows system might differ in the system information such as OSType and CPUType. On Windows systems, because the Windows version of PPU is V7.1, ReportVersion would be 1.0 and there would be no entry for IsHPVirtualMachine.

Example 4-1 PPU 8.x Usage Report (HP-UX example)

  <?xml version="1.0" ?> 
  <!DOCTYPE PPUReport (View Source for full doctype...)>
-<PPUReport>
  -<ReportData>
    <ReportType>Asset</ReportType>
    <ReportVersion>2.0</ReportVersion>
   </ReportData>
  -<System>
    -<SystemInfo>
      -<ComplexInfo>
        <SerialNumber>XYZ4032503</SerialNumber>
        <ProductNumber>A6752A</ProductNumber>
        <UniqueIdentifier>AZ299uk4343345994</UniqueIdentifier>
        <TotalCPUs>8</TotalCPUs>
        <IsHardPartitioned>true</IsHardPartitioned>
      </ComplexInfo>
      -<OSInstanceInfo>
        <SystemIdentifier>Asset#:890343</SystemIdentifier>
        <OSType>HP-UX</OSType>
        <OSVersion>B.11.11</OSVersion>
        <IsVirtualPartition>false</IsVirtualPartition>
        <IsHPVirtualMachines>false</IsHPVirtualMachines>
        <CPUType>778</CPUType>
      </OSInstanceInfo>
    </SystemInfo>
    -<Usage>
      <TotalNumCPUs>4</TotalNumCPUs>
      <NumActiveCPUs>4</NumActiveCPUs>
      <UTCSampleStartTime>1033822800</UTCSampleStartTime>
      <LocalSampleStartTime>Sat Oct 5 00:00:00 2002</LocalSampleStartTime>
      <Timezone>MDT</Timezone>
      <SampleDuration>300</SampleDuration>
      -<UsageEntry>
        <CPUID>4</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>75.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>5</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>80.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>6</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>40.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>7</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>65.000</PercentCPUUsage>
      </UsageEntry>
    </Usage>
    -<Usage>
      <TotalNumCPUs>4</TotalNumCPUs>
      <NumActiveCPUs>4</NumActiveCPUs>
      <UTCSampleStartTime>1033823100</UTCSampleStartTime>
      <LocalSampleStartTime>Sat Oct 5 00:05:00 2002</LocalSampleStartTime>
      <Timezone>MDT</Timezone>
      <SampleDuration>300</SampleDuration>
      -<UsageEntry>
        <CPUID>4</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>52.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>5</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>78.000</PercentCPUUsage>
        </UsageEntry>

      -<UsageEntry>
        <CPUID>6</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>84.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>7</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>36.000</PercentCPUUsage>
      </UsageEntry>
    </Usage>
    -<Usage>
      <TotalNumCPUs>4</TotalNumCPUs>
      <NumActiveCPUs>4</NumActiveCPUs>
      <UTCSampleStartTime>1033823400</UTCSampleStartTime>
      <LocalSampleStartTime>Sat Oct 5 00:10:00 2002</LocalSampleStartTime>
      <Timezone>MDT</Timezone>
      <SampleDuration>300</SampleDuration>
      -<UsageEntry>
        <CPUID>4</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>17.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>5</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>41.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>6</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>28.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>7</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>36.000</PercentCPUUsage>
      </UsageEntry>
    </Usage>
    -<Usage>
      <TotalNumCPUs>4</TotalNumCPUs>
      <NumActiveCPUs>4</NumActiveCPUs>
      <UTCSampleStartTime>1033823700</UTCSampleStartTime>
      <LocalSampleStartTime>Sat Oct 5 00:15:00 2002</LocalSampleStartTime>
      <Timezone>MDT</Timezone>
      <SampleDuration>300</SampleDuration>
      -<UsageEntry>
        <CPUID>4</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>45.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>5</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>63.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>6</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>55.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>7</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>49.000</PercentCPUUsage>
      </UsageEntry>
    </Usage>
    -<Usage>
      <TotalNumCPUs>4</TotalNumCPUs>
      <NumActiveCPUs>4</NumActiveCPUs>
      <UTCSampleStartTime>1033824000</UTCSampleStartTime>
      <LocalSampleStartTime>Sat Oct 5 00:20:00 2002</LocalSampleStartTime>
      <Timezone>MDT</Timezone>
      <SampleDuration>300</SampleDuration>
      -<UsageEntry>
        <CPUID>4</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>15.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>5</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>23.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>6</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>40.000</PercentCPUUsage>
      </UsageEntry>



      -<UsageEntry>
        <CPUID>7</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>27.000</PercentCPUUsage>
      </UsageEntry>
    </Usage>
    -<Usage>
      <TotalNumCPUs>4</TotalNumCPUs>
      <NumActiveCPUs>4</NumActiveCPUs>
      <UTCSampleStartTime>1033824300</UTCSampleStartTime>
      <LocalSampleStartTime>Sat Oct 5 00:25:00 2002</LocalSampleStartTime>
      <Timezone>MDT</Timezone>
      <SampleDuration>300</SampleDuration>
      -<UsageEntry>
        <CPUID>4</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>44.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>5</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>53.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>6</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>32.000</PercentCPUUsage>
      </UsageEntry>
      -<UsageEntry>
        <CPUID>7</CPUID>
        <CPUSpeed>440</CPUSpeed>
        <PercentCPUUsage>28.000</PercentCPUUsage>
      </UsageEntry>
    </Usage>
    -<HardPartition>
      <UpdateTimestamp>Sat Oct 5 00:00:00 2002</UpdateTimestamp>
      <LocalID>0</LocalID>
      <NumHardPartitions>2</NumHardPartitions>
      <NumFreeCPUs>0</NumFreeCPUs>
      -<HardPartitionEntry>
        <ID>0</ID>
        <IsActive>true</IsActive>
        <NumCPUs>4</NumCPUs>
      </HardPartitionEntry>


      -<HardPartitionEntry>
        <ID>1</ID>
        <IsActive>true</IsActive>
        <NumCPUs>4</NumCPUs>
      </HardPartitionEntry>
    </HardPartition>
  </System>
  <Checksum />
</PPUReport>