1833108 Members
3162 Online
110051 Solutions
New Discussion

HP-UX Complete details

 
Amit Dixit_2
Regular Advisor

HP-UX Complete details

Hi,
I will be reinstalling the O.S. on one of
the server's I am having, before going for
the installation please tell me how can i
collect all the details related to installed
s/w and patches on the current system.

Apart from print_manifest and swlist.

How to list all the patches.

Thanks & Regards,
Amit
5 REPLIES 5
Michael Tully
Honored Contributor

Re: HP-UX Complete details

The swlist command does display all system patches

swlist -l patch -a state
show_patches
swlist -a revision

DOn't forget that anything that was installed that did not go through 'swinstall' will not be registered as far as the OS is concerned. You'd have to scour directories to find them. If you have external LUN's you can do a 'vgexport' iin preview mode to get the mapfiles for usage later.
Anyone for a Mutiny ?
YoungHwan, Ko
Valued Contributor

Re: HP-UX Complete details

# swlist -l product | more
# swlist -l fileset -a state | more

IF your system is hpux11i use this command.
# show_patches > patchlist.txt
# vi patchlist.txt
this command will be show you already install patch list.
Shaikh Imran
Honored Contributor

Re: HP-UX Complete details

Hi,
Dear Amit,
Please don't forget to assign Points:
This is from your profile:
"I have assigned points to 64 of 280 responses to my questions. "


P.S.
No points here..

Regards,



Imran
I'll sleep when i am dead.
Jan Sladky
Trusted Contributor

Re: HP-UX Complete details

hi Amit,

swlist -l bundle
swlist -l product
swlist -l fileset

swlist -l depot (listing depots)

br Jan
GSM, Intelligent Networks, UNIX
Geoff Wild
Honored Contributor

Re: HP-UX Complete details

Another thing to do is to gather system information with something like sysinfo (see attached).

I run that from cron on all my HP servers every month:

# Run the sysinfo3.01 script
0 6 1 * * /usr/local/sysinfo/sysinfo -a -b -o /usr/tmp/`hostname`.sysinfo >/tmp/sysinfo.cron 2>&1


Patches: /usr/contrib/bin/show_patches

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.