System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the installed date of HPUX and Linux

SOLVED
Go to solution
senthil_kumar_1
Super Advisor

How to find the installed date of HPUX and Linux

Hi All,

We are using HPUX 10.20, 11.00 and 11.11

And Linux Redhat4 & Suse 10.

Now i want to see when the OS was installed.


4 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: How to find the installed date of HPUX and Linux

Shalom,

Question has been asked and answered before on the HP-UX side.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1251815786957+28353475&threadId=947032

SEP
hpuxlinux on twitter. tweet me if you dare.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: How to find the installed date of HPUX and Linux

Sorry I whacked the return key.

rpm -qa --last | tail

That might work for rhel and suse.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James Brand
Frequent Advisor

Re: How to find the installed date of HPUX and Linux

For Red Hat you can also try:

ls -lc /var/log/anaconda.log

or

cat /etc/motd
Kranti Mahmud
Honored Contributor

Re: How to find the installed date of HPUX and Linux

Hi Senthil,

For HP-UX :

# swlist -l bundle -a date | grep HPUX
# print_manifest | grep -i created
# swlist -a install_date HPUX11i-OE

For Redhat Linux:
# rpm -qi basesystem

In the output you can see the installation date:

Install Date: Wed 07 Jan 2009 04:23:27 AM IST

For Suse Linux:

Sorry...no idea. Chek the above replies.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!