WildFly OS-Level Monitoring: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 25: Line 25:
* [[Vmstat#id|Idle Time Percentage]]
* [[Vmstat#id|Idle Time Percentage]]
* [[Vmstat#st|Steal Time Percentage]]
* [[Vmstat#st|Steal Time Percentage]]
==Java Process CPU Statistics==


==Process Count Statistics==
==Process Count Statistics==

Revision as of 14:59, 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.