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
java.lang.IntegermaxSystemDumpsOnDisk
           Max number of system dumps allowed on disk

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.StringgenerateSystemDump()
           Generate system dump for all JVMs in the server
java.lang.String;generateSystemDump(java.lang.String stoken)
           Generate system dump for specified servant JVM
java.lang.StringgenerateHeapDump()
           Generate heap dump for the JVM
java.lang.String[]generateHeapDumps()
           Generate heap dump for the JVM
java.lang.String[]generateHeapDump(java.lang.String stoken)
           Generate heap dump for all JVM
java.lang.String[]generateJavaCore(java.lang.String stoken)
           Generate Javacore for specified servant JVM
booleanisVerbose()
           Tests if verbose output for the memory system is enabled
booleanisVerbose(java.lang.String processType)
           Tests if verbose output for the memory system is enabled for a particular process type
voidsetVerbose(boolean verbose, java.lang.String processType)
           Enables or disables verbose output for the memory system

Notification Summary
websphere.jvm.heapdump.attempting
           Issued prior to a heap dump being atttempted
websphere.jvm.heapdump.generated
           Issued after a heap dump has been taken
websphere.jvm.systemdump.attempting
           Issued prior to a system dump being atttempted
websphere.jvm.systemdump.generated
           Issued after a system 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
deployer
adminsecuritymanager

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
deployer
adminsecuritymanager

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
deployer
adminsecuritymanager

heapSize

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

freeMemory

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

maxHeapDumpsOnDisk

public java.lang.Integer maxHeapDumpsOnDisk
Max number of heap dumps allowed on disk
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
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
deployer
adminsecuritymanager

maxSystemDumpsOnDisk

public java.lang.Integer maxSystemDumpsOnDisk
Max number of system dumps allowed on disk
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
Setter:
administrator
operator

Operation Detail

dumpThreads

public void dumpThreads()
Dump the threads for this JVM. On z/OS this will also produce system and heap dumps.
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
deployer
adminsecuritymanager

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
deployer
adminsecuritymanager

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
deployer
adminsecuritymanager

generateSystemDump

public java.lang.String generateSystemDump()
Generate system dump for all JVMs in the server
Since:
7.0.0
Security Roles:
administrator
operator

generateSystemDump

public java.lang.String; generateSystemDump(java.lang.String stoken)
Generate system dump for specified servant JVM
Parameters:
stoken - stoken of the region to generate the dump on, if null generates on all of them
Since:
7.0.0
Security Roles:
administrator
operator

generateHeapDump

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

generateHeapDumps

public java.lang.String[] generateHeapDumps()
Generate heap dump for the JVM
Since:
6.1.0
Security Roles:
administrator
operator

generateHeapDump

public java.lang.String[] generateHeapDump(java.lang.String stoken)
Generate heap dump for all JVM
Parameters:
stoken - stoken of the region to generate the dump on, if null generates on all of them
Since:
6.1.0
Security Roles:
administrator
operator

generateJavaCore

public java.lang.String[] generateJavaCore(java.lang.String stoken)
Generate Javacore for specified servant JVM
Parameters:
stoken - stoken of the region to generate the javacore on, if null generates on all of them
Since:
9.0.0
Security Roles:
administrator
operator

isVerbose

public boolean isVerbose()
Tests if verbose output for the memory system is enabled
Since:
6.0.2
Security Roles:
administrator
operator

isVerbose

public boolean isVerbose(java.lang.String processType)
Tests if verbose output for the memory system is enabled for a particular process type
Parameters:
processType - the processType - Control, Servant, Adjunct
Since:
6.1.0
Security Roles:
administrator
operator

setVerbose

public void setVerbose(boolean verbose, java.lang.String processType)
Enables or disables verbose output for the memory system
Parameters:
verbose - the name of the system property
processType - the processType - Control, Servant, Adjunct
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 a heap dump has been taken
Severity:
6  (Normal, Cleared, or Informative)

websphere.jvm.systemdump.attempting

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

websphere.jvm.systemdump.generated

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

Copyright IBM Corp. 1996-2005