| Class | Description |
|---|---|
| Basics |
Basics
This sample displays available performance counters or other data
for an requested ESX system.
|
| History |
History
This sample reads performance measurements from the current time.
|
| PrintCounters |
PrintCounters
This sample writes available VM, Hostsystem or ResourcePool
perf counters into the file specified
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
entitytype [required] : Managed entity
[HostSystem|VirtualMachine|ResourcePool]
entityname [required] : name of the managed entity
filename [required] : Full path of filename to write to
Command Line:
Save counters available for a host
run.bat com.vmware.performance.PrintCounters
--url https://myHost.com/sdk
--username [user] --password [password] --entitytype HostSystem
--entityname myHost.com --filename myHostCounters
|
| RealTime |
RealTime
This sample displays performance measurements from the current time
at the console
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : name of the vm
Command Line:
run.bat com.vmware.performance.RealTime
--url [webservice url] --username [user] --password [password]
--vmname [name of the vm]
|
| VITop |
VITop
This sample is an ESX-Top-like application that lets administrators specify
the CPU and memory counters by name to obtain metrics for a specified host
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
host [required] : name of the host
cpu [required] : CPU counter name
e.g.
|
| VIUsage |
VIUsage
This sample creates a GUI for graphical representation of the counters
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
host [required] : Name of the host
counter [required] : Full counter name in dotted notation
(group.counter.rollup)
e.g.
|