WildFly OS-Level Monitoring: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 38: Line 38:
Number of open file descriptors per system. It can be obtained from [[Linux_File_Descriptor_Information#Used_File_Descriptors_per_System|/proc/sys/fs/file-nr]].
Number of open file descriptors per system. It can be obtained from [[Linux_File_Descriptor_Information#Used_File_Descriptors_per_System|/proc/sys/fs/file-nr]].


Number of open file descriptors for the JBoss JVM instance(s). It can be inferred [[Linux_File_Descriptor_Information#Used_File_Descriptors_per_Process|by listing the content of /proc/<pid>/fd directory]].
Number of open file descriptors for the JBoss JVM instance(s). It can be inferred [[Linux_File_Descriptor_Information#Used_File_Descriptors_per_Process|by listing the content of /proc/<pid>/fd directory]] or from the [[OperatingSystemMXBean_Platform_MBean#OpenFileDescriptorCount|OperatingSystem platform MBean]].

Revision as of 17:23, 11 May 2017

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.

Java Process CPU Statistics

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 inferred by listing the content of /proc/<pid>/fd directory or from the OperatingSystem platform MBean.