Notifications
Clear all

[Solved] How can I check the *per thread* CPU consumption of Platform

1 Posts
1 Users
0 Reactions
27.2 K Views
0
Topic starter

Platform is using a lot of CPU.  But I know it has a lot of threads.  How can I figure out which *thread* is using up CPU?

1 Answer
0
Topic starter

Get the java process id, then run:

 

top -H -p <pid>

 

It will report back on precisely which threads are using CPU.  In this case, we're being eaten alive by Garbage Collection.

 

 

image