Start Tivoli Performance Viewer
Before you start Tivoli Performance Viewer, enable performance monitoring services. See these topics for more information:
- Enable performance monitoring services for application servers
- Enable performance monitoring services for node agents (for Network Deployment only)
Use one of these methods to start Tivoli Performance Viewer:
On your workstation, click Start --> Programs --> IBM WebSphere --> Application Server v5.0 --> Tivoli Performance Viewer. Tivoli Performance Viewer uses the settings in tperfviewer.bat to connect to your application server. If you want to change these settings, see Change the default settings in tperfviewer.bat.
You can also start Tivoli Performance Viewer from a command prompt:
- Open a command prompt.
- Run the cd command to change to the product_installation_directory\bin directory.
- Run the tperfviewer script:
tperfviewer.bat host_name [ port_number ] [ connector_type ]where host_name is the iSeries host name, port_number is the SOAP or RMI connector port for the application server from which you are collecting data, and connector_type is the type of connector to use. The default value for port_number is 8880 for WebSphere Application Server and 8879 for WebSphere Application Server Network Deployment. Valid values for connector_type are SOAP or RMI. The default connector type is SOAP.Note: You can change the default values in tperfviewer.bat so that you do not need to specify the host name or port number when you run the tperfviewer.bat script. See Change the default settings in tperfviewer.bat for more information.
If you plan to run Tivoli Performance Viewer in a secured environment, see Run monitoring applications with security enabled.
After you start Tivoli Performance Viewer, you can perform these tasks:
- Set performance monitoring levels for resources
- View performance data based on the current settings
- Save performance data to a log file
Change the default settings in tperfviewer.bat
You can change the default settings in the tperfviewer.bat file so that Tivoli Performance Viewer connects to your application server. To change the settings, follow these steps:
- On your workstation, open C:\product_installation_directory\bin\tperfviewer.bat in a text editor. The default installation directory is C:\Program Files\WebSphere\AppServer.
- Under the :LOCAL entry, replace these lines:
set DEST=localhost set DESTPORT=8879with these lines:set DEST=host_name set DESTPORT=port_numberwhere host_name is the name of your iSeries server and port_number is the SOAP port for your application server.
Note: These instructions assume you are using the SOAP connector. If you use the RMI connector, specify the application server's RMI port number and replace this line:
set CONNECTOR=SOAPwith this one:
set CONNECTOR=RMI