HP-UX Overview and Command Summary - page 7

March 07, 2011

Listing all Software

swlist -l product | more

Checking for Specific Software

swlist -l product | grep

Checking for Specific Patches

swlist -l product| grep PH | more

then search for a specific patch (ie PHNE_XXXXX)

Manually applying patches

Patches can be applied using swinstall, just as depots are installed
  • swlist -l patch -a patch_state PHKL_25475
swcopy -s /tmp/*.depot -\*@/var/spool/sw

Cleaning up after applying patches:

cleanup
cleanup -c n  <--  commits patches that have been superseded n number of times.  Useful to free up disk space in /var/adm/sw/save.
cleanup -p  <-- previews the actual cleanup tasks but does not actually perform the cleanup

check_patches
show_patches

Creating a single patch depot out of multiple individual depots:

From the directory that has all of the individual depots run this command line script:
for i in PH*.depot
do
        swcopy -x enforce_dependencies=false -s ${PWD}/$i \* @ /tmp/patch_depot         <-- /tmp/patch_depot is the destination directory
done

Page 8
Page 6



Find 
HP-UX Overview and Command Summary All pages 
Page 12    |||    Page 11    |||   Page 10   |||   Page 9   |||
Page 8      |||    Page 7      |||   Page 6     |||   Page 5   |||
Page 4      |||    Page 3      |||   Page 2     |||    Page 1  |||


Related Posts

Next Article
« Prev Post
Previous Article
Next Post »

No comments