...
A Lumino or Robin controller can also be used to connect to a server via a direct admin connection over TCP to listen for heartbeats for monitoring purposes. The XVMs stats thread will queue copies of each emitted heartbeats to each connected admin client.
Anchor | ||||
---|---|---|---|---|
|
...
Heartbeat Output
When heartbeat tracing is enabled heartbeat trace is emitted to the nv.server.heartbeat
logger at a level of info
. This section discussed the output format of heartbeats.
...
div | ||
---|---|---|
| ||
|
The above trace can be interpreted as follows:
General Info
- Date and time that statistics gathering started
- Server name
- Server PID
- Number of apps running in the server
- Time spent gathering server statistics (for the current interval, excluding formatting)
...
- Number of available processors
- System load average
Memory Info
For the entire system:
- Total available memory
- The free memory
- Commit memory
- Swap total/free
For the process:
- Initial heap size
- Heap used
- Heap committed
- Max heap size
- Initial non-heap size
- Non-heap memory used
- Non-heap memory committed
- Non-heap memory max size
JDK 7 or newer is needed to collect all available memory stats. In addition some stats are not available on all jvms.
Disk
For each volume available:
- Total space
- Usable space
- Available space.
Listing of disk system roots required JDK7+, with JDK 6 or below, some disk information may not be available.
Thread Info
- Total thread count
- Daemon thread count
- Peak thread count
JIT Info
- JIT name
Total compilation time
Tip |
---|
Compare 2 consecutive intervals to determine if JIT occurred in the interval. |
GC Info
- Collection count (for all GCs)
- Collection time (for all GCs)
Tip |
---|
Compare 2 consecutive intervals to determine if a GC occurred in the interval. |
Thread Stats
Status | ||||
---|---|---|---|---|
|
...