[IBM i]

servicetools command

The servicetools command includes serviceability tools that you can use to troubleshoot WebSphere® Application Server.

To run this script, your user profile must have *ALLOBJ authority.

Syntax

The command syntax is as follows:
servicetools [-products product_list]
 [-input input_file] [-output output_file] [-trace]
 [-help]

Parameters

The following options are available for the servicetools command:

-products
This is an optional parameter. The value product_list specifies the list of products for which you want to run the tools. If you specify multiple products, separate them with a colon (:). Valid products are WAS61Base, WAS61ND, WAS61Express, WAS60Base, WAS60ND, WAS60Express, WAS51Base, WAS51ND, WAS51Express, WAS51PME, WAS51PMEND, WAS50Base, WAS50ND, WAS50Express, WAS40Adv, WAS40AEs, and ALL. If you do not specify this parameter, you must specify the -products parameter for each tool as appropriate.

Not all tools require that you specify a product. This parameter applies only to those tools that require that you specify a product.

-input
This is an optional parameter. The value input_file specifies an alternate XML Configuration file for the service tools. By default, the servicetools script uses the validator.xml file that is included in the ServiceTools.jar file.
-output
This is an optional parameter. The value output_file specifies a file to which the script writes standard output. If this value is not specified, the script writes the standard output to the display.
-trace
This is an optional parameter. If you do not specify this parameter, the script does not generate trace information.
-help
This optional parameter displays the usage statement for the script.