JVM MBean

All Parent MBeans:
J2EEManagedObject, StatisticsProvider

Partial ObjectName:
WebSphere:*,type=JVM,j2eeType=JVM


MBean JVM

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


Attribute Summary
java.lang.StringjavaVendor
           Identifies the Java Runtime Environment vendor of this Java VM.
java.lang.StringjavaVersion
           Identifies the Java Runtime Environment version of this Java VM.
java.lang.Stringnode
           Identifies the node (machine) this JVM is running on.
java.lang.StringheapSize
          
java.lang.StringfreeMemory
          
java.lang.IntegermaxHeapDumpsOnDisk
           Max number of heap dumps allowed on disk
java.lang.StringmaxMemory
           Max heap memory this JVM will attempt to use

Attributes inherited from MBean J2EEManagedObject
objectName, stateManageable, statisticsProvider, eventProvider

Attributes inherited from MBean StatisticsProvider
stats

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.
java.lang.StringgenerateHeapDump()
           Generate heap dump for the JVM

Notification Summary
websphere.jvm.heapdump.attempting
           Issued prior to a heap dump being atttempted
websphere.jvm.heapdump.generated
           Issued after to a heap dump has been taken

Attribute Detail

javaVendor

public java.lang.String javaVendor
Identifies the Java Runtime Environment vendor of this Java VM. The value of javaVendor is identical to the value of the system property java.vendor.
Security Roles:
Getter:
administrator
operator
configurator
monitor

javaVersion

public java.lang.String javaVersion
Identifies the Java Runtime Environment version of this Java VM. The value of javaVersion is identical to the value of the system property java.version.
Security Roles:
Getter:
administrator
operator
configurator
monitor

node

public java.lang.String node
Identifies the node (machine) this JVM is running on. The value of the node attribute is the fully quailified hostname of the node the JVM is running on.
Security Roles:
Getter:
administrator
operator
configurator
monitor

heapSize

public java.lang.String heapSize
Security Roles:
Getter:
administrator
operator
configurator
monitor

freeMemory

public java.lang.String freeMemory
Security Roles:
Getter:
administrator
operator
configurator
monitor

maxHeapDumpsOnDisk

public java.lang.Integer maxHeapDumpsOnDisk
Max number of heap dumps allowed on disk
Security Roles:
Getter:
administrator
operator
configurator
monitor
Setter:
administrator
operator

maxMemory

public java.lang.String maxMemory
Max heap memory this JVM will attempt to use
Security Roles:
Getter:
administrator
operator
configurator
monitor

Operation Detail

dumpThreads

public void dumpThreads()
Dump the threads for this JVM
Security Roles:
administrator
operator

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
Security Roles:
administrator
operator
configurator
monitor

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
Security Roles:
administrator
operator
configurator
monitor

getCurrentTimeInMillis

public long getCurrentTimeInMillis()
Gets the current system time in milliseconds, the same as calling System.currentTimeMillis().
Since:
5.0.1
Security Roles:
administrator
operator
configurator
monitor

generateHeapDump

public java.lang.String generateHeapDump()
Generate heap dump for the JVM
Since:
6.0.2
Security Roles:
administrator
operator

Notification Detail

websphere.jvm.heapdump.attempting

Issued prior to a heap dump being atttempted
Severity:
6  (Normal, Cleared, or Informative)

websphere.jvm.heapdump.generated

Issued after to a heap dump has been taken
Severity:
6  (Normal, Cleared, or Informative)

Copyright IBM Corp. 1996-2005