Operating System - HP-UX
1825766 Members
2199 Online
109687 Solutions
New Discussion

How to find out the server (OS) installation date?

 
SOLVED
Go to solution
Mani Vasagan_1
Occasional Advisor

How to find out the server (OS) installation date?

I am trying to find out the date of OS installation. The thing i was looking for was:
1) swinstall.log
2) Directory creation /

But swinstall.log was not current as it is a text file and overwritten/removed lot of times

The ls command could not show the date of creation, it shows same date on for other servers (Not reliable).

Any idea on this?.

Thank you,

Mani
typical tech
8 REPLIES 8
Tom Geudens
Honored Contributor
Solution

Re: How to find out the server (OS) installation date?

Hi,
This may be a roundabout way, but you can do an "swlist -v" of a product that was installed together with the OS. SD has a "create date".

Hope it helps,
Tom
A life ? Cool ! Where can I download one of those from ?
Michael Tully
Honored Contributor

Re: How to find out the server (OS) installation date?

Hi,

Ignite will give you this information provided it has been installed on your system. Here is the output from one of my systems. There is also a man page for 'print_manifest' as well.

HTH
Michael

# /opt/ignite/bin/print_manifest |more

System Information

Your Hewlett-Packard 9000 computer has software installed and
configured as follows.

The system was created February 12, 2002, 00:34:27 EST.
It was created with Ignite-UX revision B.2.6.6.

-------------------------------------------------------------
NOTE: You should retain this information for future reference.
-------------------------------------------------------------


System Hardware

Model: 9000/800/L3000-5x
Main Memory: 4096 MB
Processors: 2
OS mode: 64 bit
LAN hardware ID: 0x00306E0CBC1E
LAN hardware ID: 0x00306E0CD622
Software ID: 147454646
Keyboard Language: Not_Applicable
Anyone for a Mutiny ?
G. Vrijhoeven
Honored Contributor

Re: How to find out the server (OS) installation date?

Hi Mani,

For the installation dates of software installed with SD ( Like the CORE OS) you can check the installation date with:

swlist -a date

Hopt this helps,

Gideon
Michael Tully
Honored Contributor

Re: How to find out the server (OS) installation date?

Well done Gideon,

One of the options is found in the 'man 5 sd' man page option 'create_date'

# /usr/sbin/swlist -a create_date | grep HPUXEng64RT

or

# /usr/sbin/swlist -a create_date | grep HPUX11i-OE-Ent

Michael
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: How to find out the server (OS) installation date?


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


Thanks
Ravi_8
Honored Contributor

Re: How to find out the server (OS) installation date?

Hi,

If it is cold install i don't think we can find out the date/time of installation, because as per the previous mails, OS installation date shows Dec 2000 for the machine(11i) which we received just a week back(pre-installed OS. If it is installed through ignite, Ignite server will be having the logs of each installation from where we can find the time/date.
never give up
Bill McNAMARA_1
Honored Contributor

Re: How to find out the server (OS) installation date?

try swlist -a install_date instead.

Later,
Bill
It works for me (tm)
Mani Vasagan_1
Occasional Advisor

Re: How to find out the server (OS) installation date?

I didn't expect, i get solution, so fast !.

So swlist and ignite log we can see the installation date & time. Looks like there is no way to see the directory creation !.

Thanks a lot for all the answers.

- Mani
typical tech