Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

checking the machine installation date

Amit Manna_5
Advisor

checking the machine installation date

hi
is there any command to check the installation date of a HP Unix box?
5 REPLIES
Robert-Jan Goossens
Honored Contributor

Re: checking the machine installation date

Hi Amit,

# swlist -v -l bundle |more

or you can use the Ignite print_manifest command.

# print_manifest

Regards,
Robert-Jan
Johnson Punniyalingam
Honored Contributor

Re: checking the machine installation date

Hi Amit,

You need to find the Bundle containing your operating environment. I'm sure there is a better way of narrowing it down but this crude method worked for me:

# swlist -v -l bundle |more
# Initializing...
#
.
.
.
.
/Ent
...skipping...

HPUX11i-OE-Ent
.
.
.
.
mod_date Mon Mar 15 15:13:03 EST 2004
mod_time 1079381583
create_date Mon Mar 15 14:52:25 EST 2004
create_time 1079380345
install_date 200403151513.03


I skipped over large portions of the output to reduce the size of this posting, but essentially I piped the output to more, then used "/Ent" to skip to the Enterprise Operating Environment portion, then scrolled down to Install_date.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: checking the machine installation date

# swlist -l bundle -a install_date | sort -n -k2,2
And look for something like:
HPUXBase64 200205301230.57
Or:
HPUXBaseOS 200509201331.02

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Ganesan R
Honored Contributor

Re: checking the machine installation date

Hi Amit,

Use the below command.

# swlist -l bundle -a date HPUXBase64
Best wishes,

Ganesh.
in_kunal
Occasional Advisor

Re: checking the machine installation date

Hi amit

try:
# print_manifest | grep â i â The system was createdâ

or

swlist -l bundle -v HPUXBaseOS | grep mod_date

or

swlist -a install_date -l product |grep -i os-core

any one will work