WAS v8.5 > Reference > Command-line utilities

Liberty profile: productInfo command

The productInfo command supports validating the product integrity, comparing different versions of the Liberty profile servers, and verifying the current product versions.


Syntax

The command syntax is as follows:

where the value of options is different based on the value of task.


Parameters

The following tasks are available for the productInfo command:

compare

Allows you to compare APAR fixes that are installed in the current installation with a different version of Liberty profile.

--target="path to directory or archive file"

Specifies the target file to compare the current installation to. The value of --target can either be a directory or archive file that must be a valid Liberty profile installation location. Required.if --apars is not specified.

--apars="a comma separated list of APAR IDs"

Checks the current installation against this comma separated list of APAR IDs to see if it contains them, and then list any APARs that are not included. Required.if --target is not specified.

--output="Path to an output file"

Outputs the result from this command to the supplied filename. By default, the output is directed to standard output.

At least one of --target or --apars must be supplied

featureInfo

Lists all the features that installed on the current Liberty profile server.

--output="Path to an output file"

Outputs the result from this command to the supplied filename. By default, the output is directed to standard output.

validate

Validates the Liberty profile server against its checksum file.

--checksumfile="Path to the checksum file"

Specifies the file containing the checksum information of *.mf and *.blst being installed. Default is lib/versions/productChecksums.cs. We can also validate the integrity of an installed feature on the Liberty profile.

--output="Path to an output file"

Outputs the result from this command to the supplied filename. By default, the output is directed to standard output.

version

Prints the product information such as the product name, edition, version and iFix information.

--output=filename

Outputs the result from this command to the supplied filename. By default, the output is directed to standard output.

help

Prints help information for the specific task.


Usage

The following examples demonstrate correct syntax:

productInfo compare --target=C:\wlp\newInstall\wlp
productInfo compare --target=C:\wlp\newInstall.jar --output=C:\wlp\compareOutput.txt
productInfo compare --apars=com.ibm.ws.apar.PM39074,com.ibm.ws.apar.PM39075,com.ibm.ws.apar.PM39080
productInfo featureInfo --output=c:\wlp\featureListOutput.txt
productInfo validate --checksumfile=c:\wlp\libs\versions\checksums\appSecurity-1.0-mf.cs
productInfo help compare


Parent topic: Verify the integrity of Liberty profile installation


|