Package com.vmware.performance
Class RealTime
- java.lang.Object
-
- com.vmware.connection.ConnectedVimServiceBase
-
- com.vmware.performance.RealTime
-
@Sample(name="realtime-performance", description=" This sample displays performance measurements from the current time at the console") public class RealTime extends ConnectedVimServiceBaseRealTime 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]
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vmware.connection.ConnectedVimServiceBase
ConnectedVimServiceBase.ConnectionException
-
-
Field Summary
-
Fields inherited from class com.vmware.connection.ConnectedVimServiceBase
PROP_ME_NAME, SVC_INST_NAME
-
-
Constructor Summary
Constructors Constructor Description RealTime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidsetVirtualmachinename(java.lang.String virtualmachinename)-
Methods inherited from class com.vmware.connection.ConnectedVimServiceBase
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection
-
-
-
-
Method Detail
-
setVirtualmachinename
@Option(name="vmname", description="name of the vm") public void setVirtualmachinename(java.lang.String virtualmachinename)
-
run
@Action public void run() throws com.vmware.vim25.RuntimeFaultFaultMsg, java.io.IOException, java.lang.InterruptedException, com.vmware.vim25.InvalidPropertyFaultMsg- Throws:
com.vmware.vim25.RuntimeFaultFaultMsgjava.io.IOExceptionjava.lang.InterruptedExceptioncom.vmware.vim25.InvalidPropertyFaultMsg
-
-