Software Distributor Administration Guide for HP-UX 11i
Managing Software Depots
Additional Depot Management Tasks and Examples
Chapter 4160
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_Series30
0
TEAMWORK Tmwk. Design/Analysis 3478 HP-UX_9000_Series300/400
Note that the media contains two versions of the FRAME product.
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.log for 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).