thanks a lot for your help and clarifications on this one. Too bad I missed that section in the docs, sorry. But to be honest I focused on the WAS Admin Console's list of counters included in the "all" profile.
Original Message:
Sent: Wed May 27, 2026 09:01 AM
From: Kevin Grigorenko
Subject: How can I get all attributes for the jvmRuntimeModule PMI module using the /metrics end-point
Hey Hermann,
Reading the manual more closely, all but the first 5 counters write either:
- "This counter is not available unless the JVM profiler is enabled.", or
- "This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM."
Which I'm guessing are the same thing.
That leads to these documentation pages:
The last page notes, "JVMTI moderately increases the performance impact".
------------------------------
Kevin Grigorenko
Application Runtimes SWAT
IBM
------------------------------
Original Message:
Sent: Wed May 27, 2026 04:32 AM
From: Hermann Huebler
Subject: How can I get all attributes for the jvmRuntimeModule PMI module using the /metrics end-point
Hello Kevin,
thanks for your response on this one. Yes, we are aware that the PMI All profile is not recommended for production usage but increased from Basic as we are looking for some GC counters.
Here is the resulting output from the PMI data collection:
<Stats name="jvmRuntimeModule" statType="jvmRuntimeModule#" il="-2" type="COLLECTION"><BRS id="1" lWM="8388608" hWM="8388608" cur="8388608" int="0.0" sT="1779797148246" lST="1779805979075" lB="8388608" uB="8388608"></BRS><CS id="2" sT="1779797148246" lST="1779805979075" ct="6145387"></CS><CS id="3" sT="1779797148246" lST="1779805979075" ct="2243220"></CS><CS id="4" sT="1779797148246" lST="1779805979075" ct="8830"></CS><CS id="5" sT="1779797148246" lST="1779805979082" ct="0"></CS></Stats>
The timestamp of this entry is: May 26, 2026, 2:32:59 PM. A `grep` over the SystemOut.log files shows that at the server was started using the All PMI statistics set:
[2026-05-26 14:05:46:393 CEST] 00000001 PMIImpl A CWPMI1001I: PMI is enabled[2026-05-26 14:05:46:397 CEST] 00000001 PMIImpl W CWPMI0110W: Enabling all statistics for PMI can degrade server performance.
So wondering if there is some extra config required to get the GC info from the PMI counters?
------------------------------
Hermann Huebler
Cloud Architect
Alpium IT Solutions GmbH
Vienna
Austria
#IBMChampion
Original Message:
Sent: Tue May 26, 2026 10:01 AM
From: Kevin Grigorenko
Subject: How can I get all attributes for the jvmRuntimeModule PMI module using the /metrics end-point
Hey Hermann,
I understand you set PMI to All just for testing, but just to emphasize that, after testing, we wouldn't recommend running with PMI All.
These are all the JVM PMI counters: https://www.ibm.com/docs/en/was/latest?topic=organization-java-virtual-machine-counters
I'm not sure why you're only getting the first 5 if you set PMI to All.
Can you log PMI data to a file through TPV? https://publib.boulder.ibm.com/httpserv/cookbook/Recipes-WAS_traditional_Recipes-Logging_PMI_Data.html
Then in the resulting XML file, search for one of the JVM data snapshots and paste back here; for example:
<Stats name="jvmRuntimeModule" statType="jvmRuntimeModule#" il="-2" type="COLLECTION">
<BRS id="1" lWM="51200" hWM="269504" cur="269504" int="0.0" sT="1627401286723" lST="1627402465256" lB="51200" uB="262144">
</BRS>
<CS id="3" sT="1627401286723" lST="1627402465256" ct="211398">
</CS>
<CS id="4" sT="1627401286723" lST="1627402465256" ct="1178">
</CS>
<CS id="5" sT="1627401286723" lST="1627402465257" ct="1">
</CS>
</Stats>
------------------------------
Kevin Grigorenko
Application Runtimes SWAT
IBM