Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Jstack looks at threads that consume CPU

Shulou Source: shulou.com Published: 2022-06-03 06:41:31 09月23日 Update

1. Top-View the processes that consume the most cpu

2. Enter top H-p pid to view specific thread information.

3. Convert the thread number to hexadecimal jstack to find the information of this thread

Jstack [process] | grep-A 10 [hexadecimal of thread]

Tags: Thread information binary process input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Apple Shulou Technology Microsoft OPPO Reno