Software Distributor Administration Guide for HP-UX 11i
Managing Installed Software
Listing Your Software (swlist)
Chapter 3 109
For example, if you wanted to see all the
products
installed on your local
host, your command would be:
swlist -l product
and the listing would look like this:
NETWORKING
SAM
OPENVIEW
PRODUCT A
SOFTWARE Z
PRODUCT B
.
.
.
Note that the product names are uncommented because that was the
level you requested to display and there are no levels above.
Specifying Subproduct Level For this example, on the local host, the
NETWORKING product contains the subproducts ARPA and NFS and
you want to see how big each object is (in Kbytes).
swlist -l subproduct -a size NETWORKING
# NETWORKING 9072
NETWORKING.ARPA 4412
NETWORKING.NFS 4660
The list does not show the files or filesets because you didn’t specify that
level on the command line.
If you wanted to see the names and revision numbers for the
NETWORKING product on the local host, the command would be:
swlist -l subproduct -a revision NETWORKING
Remember, the product name is always assumed; you don’t have to
specify it in the -a option.