Software Distributor Administration Guide (March 2009)

Table Of Contents
swpackage -x layout_version=0.8 ...
From then on, your 11i system can maintain the 10.20 depot.
SD-UX will generate warnings if you attempt to put layout_version=1.0
software (11.00 or 11i format) into a layout_version=0.8 (10.20) depot.
4.4.6 Listing Registered Depots
swlist can display lists of registered depots residing on a host. To do this, use
combinations of the -l depot option.
To list all depots on the local host, type:
swlist -l depot
To list all depots on a remote machine (hostA), type:
swlist -l depot @ hostA
To list all the depots on a system from newest to oldest (by time last modified):
swlist -l depot -a mod_date -a mod_time | sort -rn -k 7,7
TIP: Use the mod_time as a convenient sort field (a single integer), and use mod_date
to include human-readable output. (Place mod_time at the end of the display where
it’s less visible.)
4.4.7 Listing the Contents of a Depot (swlist -d)
With swlist you can list all software that is packaged, stored, and ready to be installed.
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
4.4 Additional Depot Management Tasks and Examples 129