Java Threading Troubleshooting Process

Source: Internet
Author: User
1. Use the top command to view the current system CPU usage, and locate the process ID of more than 100% CPU utilization;
2. via PS aux | The grep PID command further determines the specific thread information;
3. Display a list of thread information through the PS-MP pid-o thread,tid,time command, and then find the time consuming thread ID;
4. Convert the required thread ID into 16 format: printf "%x\n" tid
5. Finally find thread stack information: jstack pid |grep tid, where Tid is the 16-binary thread ID of the above conversion

Java Threading Troubleshooting Process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.