Thursday, June 10, 2010

Profile

Using JProfile6


export LD_LIBRARY_PATH=/jprofiler6/bin/linux-x86

Append this line -agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/jprofiler6/bin/agent.jar

Taking Thread Dump

connect('weblogic','weblogic1','t3://localhost.com:8001')
threadDump(writeToFile='true', fileName='/tmp/thread_dump.log', serverName='soa_server1')
exit()

No comments: