JVM MBean

Management interface to provide current settings for the running Java Virtual Machine (JVM).


Attribute Summary
java.lang.StringheapSize
          
java.lang.StringfreeMemory
          
java.lang.StringjavaVendor
          
java.lang.StringjavaVersion
          
java.lang.Stringnode
          
com.ibm.websphere.management.statistics.Statsstats
          

Operation Summary
voiddumpThreads()
           Dump the threads for this JVM
java.lang.StringgetProperty(java.lang.String key)
           Gets the system property indicated by the specified key, the same as calling System.
java.lang.StringgetIPAddress(java.lang.String hostname)
           Returns the IP address of the given host, or null if the host is unknown.
longgetCurrentTimeInMillis()
           Gets the current system time in milliseconds, the same as calling System.

Attribute Detail

heapSize

public java.lang.String heapSize

freeMemory

public java.lang.String freeMemory

javaVendor

public java.lang.String javaVendor

javaVersion

public java.lang.String javaVersion

node

public java.lang.String node

stats

public com.ibm.websphere.management.statistics.Stats stats

Operation Detail

dumpThreads

public void dumpThreads()
Dump the threads for this JVM

getProperty

public java.lang.String getProperty(java.lang.String key)
Gets the system property indicated by the specified key, the same as calling System.getProperty(key).
Parameters:
key - the name of the system property

getIPAddress

public java.lang.String getIPAddress(java.lang.String hostname)
Returns the IP address of the given host, or null if the host is unknown.
Parameters:
hostname - name of the host to lookup

getCurrentTimeInMillis

public long getCurrentTimeInMillis()
Gets the current system time in milliseconds, the same as calling System.currentTimeMillis().
Since:
5.0.1

Copyright IBM Corp. 1996-2003