Extracting Resource Allocation Data for Chargeback in a HP Virtual Server Environment for HP Integrity Servers
CLI: capreport tool 
Capacity Advisor contains a command-line tool called capreport that allows historical utilization 
reports to be generated for workloads in the VSE environment. The capreport tool generates the 
report as a series of HTML files and subdirectories. By default, this output is in the current working 
directory from where the tool is run. In the following example, the tool is run in /tmp: 
CMS # cd /tmp 
CMS # capreport -t util -b 200709170000 -e 200709240000 -n va00np00 
Report generated on file:///tmp/2007-10-3-105329-
612/CapAdReport/index.html 
CMS # ls 2007-10-3-105329-612/CapAdReport 
-C en images js 
va00np00.html 
css graphImages index.html report.tar 
CMS # 
The main output files are the index.html file and a file for each workload or partition covered in 
the report. The HTML file for the workload contains the average utilization value for that workload. 
You can view the report using a browser on the CMS, as shown in the following example: 
23 










