Tools to monitor java thread execution

后端 未结 6 714
太阳男子
太阳男子 2021-02-06 11:14

I\'ve a java web application running on an Tomcat server(Linux). In the production environment I\'m facing some performance issue. At random intervals the jsvc process on which

6条回答
  •  情深已故
    2021-02-06 11:48

    There's a Linux tool called "threadcpu" which measures the cpu usage of each thread. And in case of a Java thread it uses jstack to get and print the thread name.

    http://www.tuxad.com/blog/archives/2018/10/01/threadcpu_-_show_cpu_usage_of_threads/index.html

提交回复
热议问题