HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)

s
swlist(1M) swlist(1M)
(HP-UX Software Distributor)
DIAGNOSTICS
The swlist command writes to stdout, stderr, and to the agent logfile.
Standard Output
All listings are printed to stdout.
Standard Error
The swlist command writes messages for all WARNING and ERROR conditions to stderr.
Logging
The swlist command does not log summary events. It logs events about each read task to the
swagent logfile associated with each target_selection.
You can use the
swlist interactive interface (
swlist -i -d) to view the swaudit.log file.
EXAMPLES
Run the
swlist interactive interface:
swlist -i @ host1
Use interactive swlist to view a depot:
swlist -i -d @ /tmp/depot
List all of the products installed on the local host:
swlist
Generate a comprehensive listing that includes all filesets for the product NETWORKING:
swlist -v -l fileset NETWORKING
List all the attributes for the ARPA-RUN fileset:
swlist -v NETWORKING.ARPA.ARPA-RUN
List the C product installed on several remote hosts:
swlist cc @ hostA hostB hostC
List the FRAME product relocated to directory /opt on host1:
swlist FRAME,1=/opt @ host1
List all the versions of the FRAME product installed on the toolserver host:
swlist FRAME @ toolserver
List all products in a shared root (HP-UX 10.X only):
swlist -r @ /export/shared_roots/OS_700
List products in a client’s private root (HP-UX 10.X only):
swlist -r @ /export/private_roots/client
List the contents of the local tape, /dev/rmt/0m :
swlist -d @ /dev/rmt/0m
or, alternatively:
swlist -s /dev/rmt/0m
List the tag and revision attributes for all products on the local tape /dev/rmt/0m :
swlist -d -a revision @ /dev/rmt/0m
or, alternatively:
swlist -a revision -s /dev/rmt/0m @
Display the README file for the FRAME product:
swlist -a readme FRAME
List the products stored in a remote depot:
Section 1M954 Hewlett-Packard Company 10 HP-UX 11i Version 1: September 2005