Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)
The swlist -d option lets you list software residing on the default depot on your local host. For
browsing any depot in the GUI, you can use swlist -i -d. You can also view the associated
session and audit log files.
NOTE: By default the output of swlist will reflect the POSIX format for attributes. This may
affect users who parse this output.
In the following examples, swlist output requests are sent to standard output. All examples
assume the one_liner option is revision size title and the level option is product
or undefined.
List the contents of the local tape depot, /dev/rmt/0:
swlist -d @ /dev/rmt/0
AUDIT 3.5 9834 Trusted Systems Auditing Utils
COMMAND 1.7 4509 Core Command Set
C-LANG 2.5 5678 C Programming Language
DISKLES 1.8 6745 HP Cluster Commands
KERNEL 1.4 56908 Kernel Libraries and Headers
VUE 1.3 5489 Vue (Instant Ignition Release)
WINDOWS 2.06 10423 Windowing Products
List the media attributes of the local tape depot, /dev/rmt/0:
swlist -d -v -l depot @ /dev/rmt/0
type distribution
tag CORE OS
description HP-UX Core Operating System Software Disc
number B2358-13601
date June 1991
List the products stored in the software depot on host1 located at /swmedia. For this example
assume one_liner is title size architecture:
swlist -d @ host1:/swmedia
FRAME Frame Document Pkg 2319 HP-UX_9000_Series700/800_AorB
FRAME Frame Document Pkg 2458 OSF1_9000_Series700_1.0
ME30 3-D Mechanical Eng 5698 HP-UX_9000_Series300/800_AorB
SOFTBENCH Softbench Development Env 4578 HP-UX_9000_Series300
TEAMWORK Tmwk. Design/Analysis 3478 HP-UX_9000_Series300/400
Note that the media contains two versions of the FRAME product.
4.5.8 Source Depot Auditing
If both the source and target systems are 10.30 or later versions of HP-UX, you can use swlist
to audit the depot. The system administrator at the source depot machine can turn the audit
functionality on or off. This feature tracks users and their software selections. In addition, you can
determine when depots are being used.
As the administrator, you must set to true the value of swagent.source_depot_audit in the
/var/adm/sw/defaults file for swagent. This creates a swaudit.log file on the source depot
(for writable directory depots) or in /var/tmp(for tar image, CD-ROM, or other non-writable
depots). This works like swagent.logfor source depot.
You can view the audit files by typing swlist -i -d. As long as the system has the corresponding
SD message catalog files on it, you can view the audit information on a remote/local depot (with
your language preference set).
4.5 Additional Depot Management Tasks and Examples 101