Operating System - HP-UX
1828773 Members
2928 Online
109985 Solutions
New Discussion

command to display OS date and version

 
SOLVED
Go to solution
Jeffrey Shannon
Contributor

command to display OS date and version

What is the command to display the date (month and year) and version of the OS running?
9 REPLIES 9
Geoff Wild
Honored Contributor

Re: command to display OS date and version

Well, to get the date, just type:

date

To get the OS rev, just type:

uname -a

If you want something more elaborate, I have some scripts that get more information about the system for you - like risc chip, cpu speed, memory, etc.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
MCP-DOC
Advisor

Re: command to display OS date and version

try for date and time $ date

for OS try $ uname -a

Re: command to display OS date and version

uname will give you the version of the OS.

With regards to month and year - well swlist will give you some info about the latest patch bundles installed if that helps, or you could not 'what /stand/vmunix'

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Insu Kim
Honored Contributor

Re: command to display OS date and version

# date
# uname -r
Never say "no" first.
Jeffrey Shannon
Contributor

Re: command to display OS date and version

Sorry for being to vague, I need the the version and the date of this version...i.e. September 1999 11.00 OS....any help?
James R. Ferguson
Acclaimed Contributor
Solution

Re: command to display OS date and version

Hi Jeffrey:

# uname -r

...will return the O/S version.

The date probably can best be described by examining the general patch level with something like:

# swlist|grep -i XSW

...and looking for General Release (GR) or Quality Pack (QPK), etc. patch bundle dates.

See here, for the original release dates of various O/S levels:

http://www.software.hp.com/HPUX-RDMP/history/slide2.html

Regards!

...JRF...
Geoff Wild
Honored Contributor

Re: command to display OS date and version

Jeff,

Do you want to know which HP-UX Realease CD was orginally used to install the OS on a server?

That would be difficult - you would have to compare versions of software installed with those on various cd's.

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bill Hassell
Honored Contributor

Re: command to display OS date and version

There is no location that remains intact as far as the original kernel installation version. Every kernel patch changes the effective revision date of the kernel. When a requirement is stated: must be the Dec 1999 version of the kernel, adding the SupportPlus patches (both HWCR and GR) your kernel will be effectively updated to the date of the SupportPlus CD.


Bill Hassell, sysadmin
Mary Ann Lipa
Valued Contributor

Re: command to display OS date and version

#uname -a <<--- OS version, license, etc
#date <<--- date and time,
-u for Coordinated Universal Time
(UTC), functionally equivalent to
Greenwich Mean Time (GMT), instead
of local time
#model <<--- for the model of your machine


d_b
Which is worse, smoking or picking your nose in a public place?