Software Distributor Administration Guide for HP-UX 11i

Managing Installed Software
Listing Your Software (swlist)
Chapter 3 103
Software Listing Tasks and Examples
To run the swlist interactive interface:
swlist -i @ host1
To use interactive swlist to view a depot:
swlist -i -d @ /tmp/depot
To produce a list of the software (by name) installed at root (/) on your
local host, you would simply type:
swlist
Which might produce a listing on your display like this:
# Initializing...
# Contacting target "xxyyzz"...
#
# Target: xxyyzz:/
# Bundle(s):
B3782CA B.11.00 HP-UX Media Kit (Reference Only. See Descr.)
B3898AA B.11.00 HP C/ANSI C Developer’s Bundle for HP-UX 11.00
HPUXEngRT B.11.00 English HP-UX Run-time Environment
# Product(s) not contained in a Bundle:
HMS 1.01
OBAM5_0 B.11.00 ObAM 5.0
Using swlist with no options set and no software selected gives you a
listing of all software bundles plus all products that are not part of a
bundle. Adding the -d option gives you the same listing of software
residing in the default depot on your local host.
In the following examples, swlist requests are sent to the standard
output. All examples assume the one_liner= default is “revision size
title” and the level= default is “product.
To list the contents of the local tape depot, /dev/rmt/0m, type:
swlist -d @ /dev/rmt/0m
or
swlist -s /dev/rmt/0m