1834896 Members
2695 Online
110071 Solutions
New Discussion

System install time

 
Mehul_5
Occasional Contributor

System install time

How to know when HP-UX was loaded/installed on the server?
12 REPLIES 12
Devender Khatana
Honored Contributor

Re: System install time

Hi Mehul,

#swlist -l fileset -a date |grep -e CDE|grep -e '#'

This command will list the CDE file sets which are generally installed only when OS is installed. But the time shown here would be taken from the system clock only.

HTH,
Devender
Impossible itself mentions "I m possible"
Devender Khatana
Honored Contributor

Re: System install time

Hi Mehul,

The date in this is even more acurate allthough expected to be same in most cases.

#swlist -l fileset -a date|grep -i os-core.ux-core

HTH,
Devender
Impossible itself mentions "I m possible"
Joseph Loo
Honored Contributor

Re: System install time

hi mehul,

another method:

# swlist -l bundle -a date|grep -i hpux

which should give u the best indication for 11.00 and 11.11.

regards.
what you do not see does not mean you should not believe
R.KrishnaKumar
Frequent Advisor

Re: System install time

Hi Mehul,

The best way to see the install date is thru the following command,

#swlist -l fileset -a date|grep -i os-core.ux-core

regds..
Krishna
Peter Gillis
Super Advisor

Re: System install time

Hi Mehul,
If you have ignite on your system and was installed with original installation you could try checking out /var/opt/ignite/local/manifest directory for manifest.orig file or such. Dates and times along with system info is given.
Maria.
Cem Tugrul
Esteemed Contributor

Re: System install time

Hi Mehul,

print_manifest|grep -i created

gives when your system installed time...

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Venkatesan_5
Frequent Advisor

Re: System install time

hi....

all the fileset and core will show the generated dates only but not the installed date in system...

you can check out this...

# more /var/adm/sw/swinstall.log

the very first date is the date of installation...


hope you got your answer...

:)
Venkatesan.
Bejoy C Alias
Respected Contributor

Re: System install time

If ignite is installed , u can use 'print_manifest | more' to get ur system info including the date and time of the installation.
Be Always Joy ......
Venkatesan_5
Frequent Advisor

Re: System install time

hi...

another command u can find out is 'last'...

Use the "last" command. It will show you all reboots and logins since the OS was installed. The first login or reboot listed will be the first one after the OS install. Also, there is a line at the end "wtmp begins . . . ." which is when the file that tracks the reboots and logins was first written. Both of those clues should be only minutes from when the OS load finished.


regds
Venkatesan.
Muthukumar_5
Honored Contributor

Re: System install time

You can get this with,

# dmesg | grep Revision

also.

hth.
Easy to suggest when don't know about the problem!
Biswajit Tripathy
Honored Contributor

Re: System install time

"dmesg | grep Revision" will give the date
and time when HP-UX bits were built and NOT
the time when hp-ux was installed on the
machine. If newer filesets have been
installed on the system because of
patches, "swlist" will give the date on that
patch.

One sure way (as far as I know) of finding
out the installation date is to look at the
parameter "install_date" in the file
/var/adm/sw/products/HPUXBaseAux/pfiles/INDEX.
This should give the date when HP-UX was
installed on your system.

- Biswajit
:-)
Mehul_5
Occasional Contributor

Re: System install time

Thanks guys for quick response. I got the answer from /var/opt/ignite/local/manifest.

Regards
Mehul