HP-UX 11i v3 Installation and Update Guide, March 2013

a. To verify that no errors were encountered before the update began, view the contents of the
log file: /var/adm/sw/update-ux.log. You should see output similar to the following:
Command entered: update-ux -s
depot_server:/var/11iv3/update_depot SWM HPUX11i-OE
NOTE: Output is logged to '/var/adm/sw/update-ux.log'
* Obtaining some information from the source depot.
cp /usr/lbin/swagent /var/adm/sw/tmp/update-ux
compress /var/adm/sw/tmp/update-ux/swagent
uncompress /var/adm/sw/tmp/update-ux/swagent.Z
chmod +x /var/adm/sw/tmp/update-ux/swagent
* Copying an SD agent from the source depot
/usr/sbin/swagentd -k
/usr/sbin/swagentd -r
/usr/sbin/swcopy -s depot_server:/var/11iv3/update_depot
-x logfile=/var/adm/sw/tmp/update-ux/swcopy.log
-x autoselect_dependencies=false -x enforce_dependencies=false
-x mount_all_file systems=false -x register_new_depot=false
-x uncompress_files=true -x reinstall=true SW-DIST.SD-AGENT @
/var/adm/sw/tmp/update-ux/SWDIST.depot
/usr/sbin/swagentd -k
/usr/sbin/swagentd -r
rm -f /var/adm/sw/tmp/update-ux/orig_swagent.log
rm -f /var/adm/sw/tmp/update-ux/tmp_swagent.log
/usr/sbin/swagentd -k.
b. To verify that all appropriate software was updated successfully, view the contents of the
logfile: /var/opt/swm/swm.log.
You may view the contents of the swm.log interactively by typing the following command:
swm job -i
The system displays a log screen that displays contents of the log file
/var/opt/swm/swm.log.
Figure 8 Log Screen
This log screen provides multiple ways of viewing the information recorded in the log file. You
can filter out the messages by verbosity levels, using the action keys at the bottom of the screen.
Table 11 (page 56) lists the log files that are generated during an update:
Proceeding with updating 55