Logging Tivoli Performance Viewer data by using scripting
You can use the wsadmin tool to start and stop Tivoli® Performance Viewer logging in your environment.
About this task
Tivoli Performance Viewer provides an easy way to store real-time data for system resources, WebSphere® Application Server pools and queues, application-related statistics, and others in log files for later retrieval. The wsadmin tool helps you start and stop logging by using the command line. You can use the command line to start and stop Tivoli Performance Viewer logging.
The following task assumes that you are using Jython script.
Procedure
What to do next
By default, the log files are stored in the profile_root /logs/tpv
directory on the node on which the server is running. Tivoli
Performance Viewer automatically compresses the log file when it finishes writing to it to conserve
space. There must be a single log file only in each .zip file and it must have the same name as
the .zip file. Complete the following steps to view the log files:
- Click in the navigation tree.
- Select a log file to view by using either of the following options:
- Explicit path to a log file
Choose a log file from the machine on which the browser is running. Use this option if you create a log file and transferred it to your system. Click
to open a file browser on the local machine and select the log file to upload. - Server file
- Specify the path of a log file on the server.
- In a deployment management environment, click the button next to the input to browse the various nodes and find the log file to view.
- Click . The view displays the log with log control buttons.
- Explicit path to a log file