1834732 Members
2510 Online
110070 Solutions
New Discussion

Re: Depot

 
Sandra R.
Occasional Contributor

Depot

What's the most efficient way to determine the last depot installed on an hp server? Thanks
5 REPLIES 5
RAC_1
Honored Contributor

Re: Depot

Check /var/adm/sw/swinstall.log if it was installed through swinstall.
There is no substitute to HARDWORK
Fabio Ettore
Honored Contributor

Re: Depot

Hi,

if I understand what you want then

# swlist -l product -a date

Hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!
Kenneth Platz
Esteemed Contributor

Re: Depot

/usr/sbin/swlist -a date will show you the dates that everything was installed on your server.

You can also try checking out the /var/adm/sw/swinstall.log -- The last product installed will be at or near the end of the file.
I think, therefore I am... I think!
Sridhar Bhaskarla
Honored Contributor

Re: Depot

Hi,


Look at /var/adm/sw/swagent.log. Go to the end of the file and move up until you find "BEGIN Install" Session followed by Analysis and Execution phases.

You can look at /var/adm/sw/swinstall.log too.

Even starting 'swinstall' will add two entries in these log files.

You could also use the command 'swjob|grep -i install|tail -1' to find out the last job and search for that id in swinstall.log


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sandra R.
Occasional Contributor

Re: Depot

Thanks guys!