1, the top command finds out the Java process ID;
2. Find out which thread ID occupies the highest cpu in the java process;
3. Convert the thread ID to16;
4. Grab the corresponding thread stack information;
5. Check the log information of thread exception: jstack process number |grep 16 binary exception thread number -A90.