Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top threads CPU miscalculation? #14

Open
jerrinot opened this issue Feb 9, 2017 · 2 comments
Open

Top threads CPU miscalculation? #14

jerrinot opened this issue Feb 9, 2017 · 2 comments

Comments

@jerrinot
Copy link

jerrinot commented Feb 9, 2017

image

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 :)

@ajermakovics
Copy link
Owner

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

@ajermakovics
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants