Posts

Showing posts with the label high cpu

Thread Dump Analysis

Dear WebLogic users/Administrator you might already visited many other sites that discussed about - how to take the thread dump. But here I am going to tell you about automation script makes more simplified way of working, with more information - almost 70% on the occasion of STUCK thread Thread dumps will reveals. In case of High CPU utilization situations, which method is badly working. Step by Step analysis for Thread Dump Thread dump troubleshooting from Jerry Chan Step 1: Automated Thread Dump for WebLogic Take the Thread dump for a managed server that have issues or slowness or latency etc. You just read the description and start applying to your test environment and then try out on your Live environments. Cheers! #!/bin/bash # This script will takes the managed server name as argument and it will work generic to Linux or SunOS or HP-UX. # The only ps command options varies for each platform # Kill -3 command used for every 10 seconds of interval. You can increa...

WebLogic Server name its PID, CPU, MEM

Image
I am on a 'THINKING CHAIR' again, thinking to find the fine chopped shell script for displaying process id on the opposite to it the WebLogic(java process) instance name. This is the regular need for any WebLogic Administrator. 1. Some times the Thread counts monitoring cannot help to know the status of the Server instance then need to look for the instance is alive or not. That is the java process exist for that particular instance. 2. You may get Stuck Thread alert for any machine through your monitoring tools (HP OVO, Introscope or some other). Then you need to get the thread dump for the stuck thread found WebLogic instance. 3. You may want to kill an instance for any abnormal reasons What is 'ps' command does? The 'ps' command gives us information about processes status on Solaris or Linux or any other UNIX flavor.  There are different varieties of 'ps' command paths i) /usr/bin/ps ii) /usr/ucb/ps If you type “ps” at the prompt, and you...