For example:

$ swlist -l depot

#Initializing...

#Target "my_system" has the following depot(s): /var/spool/sw /depot/patches/2003-07_periodic_depot /depot/patches/2004-01_periodic_depot /tmp_depot/PHSS_29735.depot

To view a list of registered depots on a remote system, use this command:

swlist -l depot @ remote_system

For example:

$ swlist -l depot @ swdepot.xyz.com

#Initializing...

#Target "swdepot.xyz.com" has the following depot(s): /depot/patches/11.00

/depot/patches/11.04

/depot/patches/11.11

/depot/patches/11.23

To list the contents of a directory or tape depot, use this command:

swlist -llevel -d @ remote_system:/directory_path/depot_name

The following values for level are useful: bundle, product, and fileset. For more

information about level, see Chapter 3: “HP-UX patch overview” (page 17).

For example:

$ swlist -l product -d @ swdepot.xyz.com:/depot/patches/11.11

#Initializing...

#Contacting target "swdepot.xyz.com"...

#Target: swdepot.xyz.com:/depot/patches/11.11

PHCO_23263

B.11.11.15

HP AutoRAID Manager cumulative patch

PHCO_23370

1.0

lint(1) library patch

PHCO_23463

1.0

sysdef(1) patch

PHCO_23492

1.0

Kernsymtab Patch

PHCO_23702

1.0

cumulative header file patch for prot.h

PHCO_23909

1.0

cu(1) patch

...

 

 

To view the contents of a specified directory depot at various levels, use this command:

swlist -llevel @ remote_system:/directory_path/depot_name

The following values for level are useful: bundle, product, and fileset. This command does not work for a tape depot.

For example:

$ swlist -l product @ swdepot.xyz.com:/depot/patches/1123.depot

#Initializing...

#Contacting target "swdepot.xyz.com"...

#Target: swdepot.xyz.com:/depot/patches/1123.depot

PHCO_29605

1.0

VxVM

3.5~IA.004

Command Patch 01

PHCO_29793

1.0

audisp(1M) patch

PHCO_29957

1.0

libc

cumulative

patch

PHCO_30027

1.0

Release notes document

...

 

 

 

 

For more information about the swlist command, see the Software Distributor Administration Guide on the HP Business Support Center website at http://www.hp.com/go/sd-docs.

68 Using software depots for patch management

Page 68
Image 68
HP UX Patch Management manual Swlist -l depot @ remotesystem, $ swlist -l depot @ swdepot.xyz.com