Adds a node monitor that shows the CPU model and the number of hardware threads (logical processors) of every node (built-in node and agents) in the Jenkins node list. This makes it easy to see which agents are fast or slow without opening each machine.
The monitor runs on the node itself, so it reports the hardware of that node. Long vendor strings such as 13th Gen Intel(R) Core(TM) i9-13900H are shortened to i9-13900H.
Supported operating systems:
- Windows (PowerShell, with a registry fallback)
- Linux (
lscpu, with/proc/cpuinfoas a fallback), including x86, ARM (aarch64) and POWER - macOS (
sysctl)
On other systems (for example AIX or Solaris), or if the CPU name cannot be determined, the monitor shows N/A.
A second monitor, RAM, shows the total physical memory (RAM) of every node as a separate column, for example 15.6 GiB. Sizes use binary units (1 GiB = 1024 MiB).
- Windows:
Win32_ComputerSystem.TotalPhysicalMemory(PowerShell) - Linux:
MemTotalfrom/proc/meminfo - macOS:
sysctl hw.memsize - Other systems and failed lookups: the value reported by the JVM, or
N/A
The Linux value is the memory the kernel can use, which is slightly less than the installed amount.
- Install the plugin.
- Go to Manage Jenkins → Nodes → Configure Monitors (gear icon).
- Enable CPU and/or RAM.
- A CPU column appears in the node list, for example
i7-13700K (16 threads).
jenkins:
nodeMonitors:
- specsMonitor
- memoryMonitor
Report issues and enhancements on the GitHub issue tracker.
Refer to the Jenkins contribution guidelines.
To try the plugin locally:
mvn hpi:run
Licensed under MIT, see LICENSE.md.