jvm-mon
jvm-mon copied to clipboard
Top threads CPU miscalculation?

How can I interpret the CPU and TotalCPU columns? The screenshot is from my laptop and it certainly has less than 10 or ever 8 CPU cores :)
Will need to doublecheck but it should be:
- CPU = current CPU utilization (in ratio to available cpu time on all processors)
- TOTALCPU = CPU utilization (in ratio to process cpu consumption) since the thread is alive
https://github.com/patric-r/jvmtop/blob/master/doc/ExampleOutput.md
I think eventually it would be better to integrate jvm-tools for thread stats. It has other nice properties such as showing the allocation rate.