jvmMemoryGCCall
JVM-MANAGEMENT-MIB ·
.1.3.6.1.4.1.42.2.145.3.163.1.1.2.3
Object
scalar
r/w
Enumeration
This object makes it possible to remotelly trigger the
Garbage Collector in the JVM.
This object's syntax is an enumeration which defines:
* Two state values, that can be returned from a GET request:
unsupported(1): means that remote invocation of gc() is not
supported by the SNMP agent.
supported(2) : means that remote invocation of gc() is supported
by the SNMP agent.
* One action value, that can be provided in a SET request to
trigger the garbage collector:
start(3) : means that a manager wishes to trigger
garbage collection.
* Two result value, that will be returned in the response to a
SET request when remote invocation of gc is supported
by the SNMP agent:
started(4) : means that garbage collection was
successfully triggered. It does not mean
however that the action was successfullly
completed: gc might still be running when
this value is returned.
failed(5) : means that garbage collection couldn't be
triggered.
* If remote invocation is not supported by the SNMP agent, then
unsupported(1) will always be returned as a result of either
a GET request, or a SET request with start(3) as input value.
* If a SET request with anything but start(3) is received, then
the agent will return a wrongValue error.
See java.lang.management.MemoryMXBean.gc()
Context
- MIB
- JVM-MANAGEMENT-MIB
- OID
.1.3.6.1.4.1.42.2.145.3.163.1.1.2.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- jvmMemory
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unsupported |
2 | supported |
3 | start |
4 | started |
5 | failed |