Setting up profile scripts to make tracing easier using wsadmin scripting

You can use scripting and the wsadmin tool to set up profile scripts to facilitate tracing.

Before you begin

Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client using wsadmin scripting article for more information.

Procedure

Set up a profile script to make tracing easier. The following profile script example turns tracing on and off for server1:
Note: The dumpThreads command creates other types of dump files depending on the -Xdumps settings. Dump output varies depending on the platform and might include system core files, heap, and snap dumps.

If you start the wsadmin tool with this profile script, you can use the ton command to turn on tracing in the server, the toff command to turn off tracing, and the dt command to dump the Java threads. For more information about running scripting commands in a profile script, see the Starting the wsadmin scripting client using wsadmin scripting article.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 5, 2014 9:49:51 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-mp&topic=txml_profiletrace
File name: txml_profiletrace.html