WildFly OS-Level Monitoring: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:
* CPU statistics as reported by [[Vmstat#CPU|vmstat]] (user time, kernel time, time waiting for I/O, steal time, etc.) or other utilities, and computed based on [[/proc/stat]] values.
* CPU statistics as reported by [[Vmstat#CPU|vmstat]] (user time, kernel time, time waiting for I/O, steal time, etc.) or other utilities, and computed based on [[/proc/stat]] values.
* Number of open file descriptors [[Linux_File_Descriptor_Information#Used_File_Descriptors_per_System|per system]] and [[Linux_File_Descriptor_Information#Used_File_Descriptors_per_Process|per JBoss process(es)]].
* Number of open file descriptors [[Linux_File_Descriptor_Information#Used_File_Descriptors_per_System|per system]] and [[Linux_File_Descriptor_Information#Used_File_Descriptors_per_Process|per JBoss process(es)]].
* Total number of processes on the system. Can be obtained from [[ps|ps -e]]
* Total number of processes and threads on the system. Can be obtained from [[ps|ps -eL]]
* Number of native threads used by the Java process, as reflected at OS level. The number of threads (processes) can be determined [[Linux_Process_Information#Threads|as described here]], and it should match the number of threads reported internally by the JVM via the [[ThreadMXBean_Platform_MBean#ThreadCount|ThreadMXBean Platform MBean]].
* Number of native threads used by the Java process, as reflected at OS level. The number of threads (processes) can be determined [[Linux_Process_Information#Threads|as described here]], and it should match the number of threads reported internally by the JVM via the [[ThreadMXBean_Platform_MBean#ThreadCount|ThreadMXBean Platform MBean]].

Revision as of 14:41, 9 May 2017

Internal

Metrics

  • Memory statistics as reported by /proc/meminfo.
  • CPU statistics as reported by vmstat (user time, kernel time, time waiting for I/O, steal time, etc.) or other utilities, and computed based on /proc/stat values.
  • Number of open file descriptors per system and per JBoss process(es).
  • Total number of processes and threads on 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.