WildFly OS-Level Monitoring
Internal
Metrics
O/S Level System-Wide Memory Statistics
Memory statistics as reported by /proc/meminfo. Most important:
O/S Level System-Wide CPU Statistics
CPU statistics as reported by vmstat (user time, kernel time, idle time, time waiting for I/O, steal time, etc.) or other utilities, and computed based on /proc/stat values.
- User Time Percentage
- Kernel Time Percentage
- Time Waiting for I/O Percentage
- Idle Time Percentage
- Steal Time Percentage
Process Count Statistics
Total number of processes in the system. Can be obtained from ps -e.
Total number of threads in the system. Can be obtained from ps -eL.
Number of native threads used by the Java process, as reflected at OS level. The number of threads (processes) can be determined as described here, and it should match the number of threads reported internally by the JVM via the ThreadMXBean Platform MBean.
Open File Descriptor Statistics
Number of open file descriptors per system. It can be obtained from /proc/sys/fs/file-nr.
Number of open file descriptors for the JBoss JVM instance(s). It can be obtained from [[Linux_File_Descriptor_Information#Used_File_Descriptors_per_Process|]].