This section presents some examples of swlist to display information about patches, bundles, and depots.

NOTE: For brevity and improved readability, some lines of SD-UX command output have been shortened or removed.

Examples of the swlist command

Use the swlist command with no arguments to get a default listing of all top-level software installed on the local host:

swlist

For example:

$ swlist

#Initializing...

#Contacting target "some_system"...

#Target: some_system:/

#Bundle(s):

BUNDLE11i

B.11.11.0102.2

Required Patch Bundle for HP-UX 11i, February 2001

GOLDAPPS11i

B.11.11.0312.4

Gold Applications Patches for HP-UX 11i v1, Dec 2003

GOLDBASE11i

B.11.11.0312.4

Gold Base Patches for HP-UX 11i v1, December 2003

HWEnable11i

B.11.11.0309.4

Hardware Enablement Patches for HP-UX 11i, Sep 2003

MOZILLA

1.4.0.00.00

Mozilla 1.4 for HP-UX

T1471AA

A.03.50.000

HP-UX Secure Shell

# Product(s)

not

contained in a Bundle:

PHCO_28848

1.0

Software Distributor Cumulative Patch

PHCO_29010

1.0

shar(1) patch

PHCO_29495

1.0

libc cumulative patch

PHSS_28677

1.0

CDE Applications Periodic Patch

vim

5.8

Vi IMproved

 

The swlist command has many arguments. This chapter considers only the following arguments and operands:

swlist [-d][-llevel] [-aattribute] [-ssource] [software_selections] [-xoption=value] [@ target_selections]

-d

Directs the swlist command to operate on a software depot rather than on software currently installed on the system. When you use this argument, you must also use the @ target_selections argument to specify the depot.

-llevel

Lists all software objects down to the specified level. The following is a partial list of supported level values:

depot: Lists software available from registered depots.

bundle: Shows only bundles.

product: Shows only products.

patch: Shows all applied patches.

fileset: Shows products and filesets.

file: Shows products, filesets, files, and numbers (used in software licensing).

category: Shows all categories of available patches for patches that have included category objects in their definition.

Specifies multiple values for level:

-l bundle -l product: Shows bundles and the products they contain.

22 HP-UX patch overview