![]() ![]() “GC task thread#2 (ParallelGC)” os_prio=0 tid=0x00007fccac036000 nid=0xd2e8 runnable “GC task thread#1 (ParallelGC)” os_prio=0 tid=0x00007fccac034800 nid=0xd2e7 runnable “GC task thread#0 (ParallelGC)” os_prio=0 tid=0x00007fccac032800 nid=0xd2e6 runnable Sample output of command jstack 53984 > 53984.txt Next, we capture the jstack of the parent process id ( 53984), as shown below, and look up the hex values listed in step 3 with parent PID’s jstack file to identify the child threads consuming high CPU. Convert the first column PIDs to hexadecimal values. The following screenshot reveals that PID 53984 has maximum CPU usage i.e. The top is the general Linux command to achieve this task. Identity the Java Process that consuming a high CPU. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |