lssw command

Purpose

Lists installed software products.

Syntax

lssw [ -hist ]

Description

The lssw command displays information about installed filesets or fileset updates. If the -hist parameter is not specified, the name, most recent level, state, and description of all filesets is displayed. Part information (usr, root, and share) is consolidated into the same listing. For formatted filesets, it displays the most recent maintenance level. Any interim fixes on the system are also displayed.

If the -hist flag is specified, installation and update history information is displayed.

Output Values

The following sections define terms used in several of the output fields. Note that not all output values are defined here. Only the ones that require explanation are defined.

State Values

The state field in the lssw output gives the state of the fileset on your system. It can have the following values:

State Description
APPLIED The specified fileset is installed on the system. The APPLIED state means that the fileset can be removed with the updateios command and the previous level of the fileset restored.
APPLYING An attempt was made to apply the specified fileset, but it did not complete successfully, and cleanup was not performed.
BROKEN The specified fileset or fileset update is broken and should be reinstalled before being used.
COMMITTED The specified fileset is installed on the system. The COMMITTED state means that a commitment has been made to this level of the software. A committed fileset update cannot be rejected, but a committed fileset base level and its updates (regardless of state) can be removed by the updateios command.
EFIX LOCKED The specified fileset was installed successfully and locked.
OBSOLETE The specified fileset was installed with an earlier version of the operating system but has been replaced by a repackaged (renamed) newer version. Some of the files that belonged to this fileset have been replaced by versions from the repackaged fileset.
COMMITTING An attempt was made to commit the specified fileset, but it did not complete successfully, and cleanup was not performed.
REJECTING An attempt was made to reject the specified fileset, but it did not complete successfully, and cleanup was not performed.

Action Values

The action field in the lssw output identifies the installation action that was taken for the fileset. The following values may be found in this field:

Action Description
APPLY An attempt was made to apply the specified fileset.
CLEANUP An attempt was made to perform cleanup for the specified fileset.
COMMIT An attempt was made to commit the specified fileset.
REJECT An attempt was made to reject the specified fileset.

Status Values

The status field in the lssw output identifies the resultant status in the history of installation actions. The following values may be found in this field:

Status Description
BROKEN The fileset was left in a broken state after the specified action.
CANCELED The specified action was canceled before it completed.
COMPLETE The commitment of the fileset has completed successfully.

Flags

Flag name Description
-hist Displays the installation and update history information.

Examples

  1. To list all installed software, type:
    lssw
  2. To list installation and update history, type:
    lssw -hist



Last updated: Wed, November 18, 2020