+

Search Tips   |   Advanced Search

 

Set up profile scripts to make tracing easier using scripting

 

You can use scripting and the wsadmin tool to set up profile scripts to facilitate tracing. Before starting this task, the wsadmin tool must be running. See the Start the wsadmin scripting client 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:

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 Start the wsadmin scripting client article.



Use the AdminControl object for scripted administration

 

Related Reference


Commands for the AdminControl object