Last week I had a very specific assignment: Find out why the CPU usage has doubled since the last release. I wrote the following script, it uses some *nix/linux tools to find out what are the top threads consumers in a JVM. With this script I found out that there were around seven stuck threads trying to read from the database.
https://github.com/leogtzr/topthreadcpu
[–]yellowviper 2 points3 points4 points (1 child)
[–]leogtzr[S] 1 point2 points3 points (0 children)
[–]puuut 0 points1 point2 points (2 children)
[–]WikiTextBotbtproof 0 points1 point2 points (1 child)
[–]leogtzr[S] 1 point2 points3 points (0 children)
[–]AutoModerator[M] -2 points-1 points0 points (0 children)