J2EEManagedObject, StatisticsProvider
WebSphere:*,type=JVM,j2eeType=JVM
MBean JVM
Management interface to provide current settings for the running Java Virtual Machine (JVM).
Attribute Summary | |
---|---|
java.lang.String | javaVendor Identifies the Java Runtime Environment vendor of this Java VM. |
java.lang.String | javaVersion Identifies the Java Runtime Environment version of this Java VM. |
java.lang.String | node Identifies the node (machine) this JVM is running on. |
java.lang.String | heapSize |
java.lang.String | freeMemory |
java.lang.Integer | maxHeapDumpsOnDisk Max number of heap dumps allowed on disk |
java.lang.String | maxMemory Max heap memory this JVM will attempt to use |
java.lang.Integer | maxSystemDumpsOnDisk 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 | |
---|---|
void | dumpThreads() Dump the threads for this JVM |
java.lang.String | getProperty( Gets the system property indicated by the specified key, the same as calling System. |
java.lang.String | getIPAddress( Returns the IP address of the given host, or null if the host is unknown. |
long | getCurrentTimeInMillis() Gets the current system time in milliseconds, the same as calling System. |
java.lang.String | generateSystemDump() Generate system dump for all JVMs in the server |
java.lang.String; | generateSystemDump( Generate system dump for specified servant JVM |
java.lang.String | generateHeapDump() Generate heap dump for the JVM |
java.lang.String[] | generateHeapDumps() Generate heap dump for the JVM |
java.lang.String[] | generateHeapDump( Generate heap dump for all JVM |
boolean | isVerbose() Tests if verbose output for the memory system is enabled |
boolean | isVerbose( Tests if verbose output for the memory system is enabled for a particular process type |
void | setVerbose( 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 |
---|
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.
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
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.
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
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.
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public java.lang.String heapSize
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public java.lang.String freeMemory
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public java.lang.Integer maxHeapDumpsOnDisk
Max number of heap dumps allowed on disk
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
Setter:
administrator
operator
public java.lang.String maxMemory
Max heap memory this JVM will attempt to use
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public java.lang.Integer maxSystemDumpsOnDisk
Max number of system dumps allowed on disk
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
Setter:
administrator
operator
Operation Detail |
---|
public void dumpThreads()
Dump the threads for this JVM
administrator
operator
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).
key
-
the name of the system property
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public java.lang.String getIPAddress(
java.lang.String hostname
)
Returns the IP address of the given host, or null if the host is unknown.
hostname
-
name of the host to lookup
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public long getCurrentTimeInMillis()
Gets the current system time in milliseconds, the same as calling System.currentTimeMillis().
Since:
5.0.1
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public java.lang.String generateSystemDump()
Generate system dump for all JVMs in the server
Since:
7.0.0
administrator
operator
public java.lang.String; generateSystemDump(
java.lang.String stoken
)
Generate system dump for specified servant JVM
stoken
-
stoken of the region to generate the dump on, if null generates on all of them
Since:
7.0.0
administrator
operator
public java.lang.String generateHeapDump()
Generate heap dump for the JVM
Since:
6.0.2
administrator
operator
public java.lang.String[] generateHeapDumps()
Generate heap dump for the JVM
Since:
6.1.0
administrator
operator
public java.lang.String[] generateHeapDump(
java.lang.String stoken
)
Generate heap dump for all JVM
stoken
-
stoken of the region to generate the dump on, if null generates on all of them
Since:
6.1.0
administrator
operator
public boolean isVerbose()
Tests if verbose output for the memory system is enabled
Since:
6.0.2
administrator
operator
public boolean isVerbose(
java.lang.String processType
)
Tests if verbose output for the memory system is enabled for a particular process type
processType
-
the processType - Control, Servant, Adjunct
Since:
6.1.0
administrator
operator
public void setVerbose(
boolean verbose,
java.lang.String processType
)
Enables or disables verbose output for the memory system
verbose
-
the name of the system property processType
-
the processType - Control, Servant, Adjunct
Since:
6.0.2
administrator
operator
Notification Detail |
---|
Issued prior to a heap dump being atttempted
6
(Normal, Cleared, or Informative)
Issued after a heap dump has been taken
6
(Normal, Cleared, or Informative)
Issued prior to a system dump being atttempted
6
(Normal, Cleared, or Informative)
Issued after a system dump has been taken
6
(Normal, Cleared, or Informative)