05 June 2018

High CPU (old fashion)

    A good old way to identify high CPU threads.
    • identify WLS PID : jps -v. (or lsof -i @IP:port)
    • take Thread Dumps: kill -3 <PID>jstack -l <PID>, jcmd <PID> Thread.print
    • top -H -b -p <PID>
    • identify child process from %CPU column
    • convert those PID to Hex (ie: 3141): printf "%x " 3141
    • search those Hex to Thread dump: nid=0xc45

    No comments :

    My Blog List

    Blog Archive


    The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.