Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)
2) a list that contains software attributes (-a and -v).
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.
3.1.4.6.2 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.
3.1.4.6.3 Specifying Fileset Level
An example of using the -l option to generate a listing that includes all filesets for the product
NETWORKING on the local host and a descriptive title for each:
swlist -l fileset -a title NETWORKING
# NETWORKING Network Software
NETWORKING.ARPA-INC ARPA include files
NETWORKING.ARPA-RUN ARPA run-time commands
NETWORKING.ARPA-MAN ARPA manual pages
NETWORKING.LANLINK CORE ARPA software
NETWORKING.NFS-INC NFS include files
NETWORKING.NFS-RUN NFS run-time commands
NETWORKING.NFS-MAN NFS manual pages
Again, note the commented lines (#) representing the subproduct (NETWORKING.ARPA and
NETWORKING.NFS) and product (NETWORKING) levels. The other lines are filesets.
3.1.4.6.4 Specifying Files Level
An example of the -l option to generate a comprehensive listing that includes all files for the
subproduct NETWORKING.ARPA:
swlist -l file NETWORKING.ARPA
# NETWORKING.ARPA
# NETWORKING.ARPA_INC
3.1 Listing Your Software (swlist) 71