WildFly OS-Level Monitoring: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:
CPU statistics as reported by [[Vmstat#CPU|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.
CPU statistics as reported by [[Vmstat#CPU|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.


=Process Count Statistics=
Total number of processes in the system. Can be obtained from [[ps|ps -e]].
Total number of threads in 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 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 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]].

Revision as of 20:03, 10 May 2017

Internal

Metrics

O/S Level System-Wide Memory Statistics

Memory statistics as reported by /proc/meminfo

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.

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.