Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

OS version

SOLVED
Go to solution
Yaroki
Super Advisor

OS version

Hello,

 

How can I detect the OS version on HP-UX B.11.11 ?

 

BR,

Yali

6 REPLIES
Matti_Kurkela
Honored Contributor

Re: OS version

If you know that the version is B.11.11, you already know the version!

 

If you want to know the silly marketing names, then:

  • B.11.11 = 11iv1 (originally just "11i")
  • B.11.23 = 11iv2
  • B.11.31 = 11iv3

 

The command "uname -r" will display the OS version.

 

"swlist -l bundle HPUX11i-OE" will display the OE version number, whose last digits indicate release year and month.

For example:

 # swlist -l bundle HPUX11i-OE
# Initializing...
# Contacting target "xx"...
#
# Target:  xx:/
#

  HPUX11i-OE    B.11.11.0406   HP-UX 11i Operating Environment Component 

 This would be a HP-UX 11i v1 system, using a June 2004 release (.0406).

MK
Yaroki
Super Advisor

Re: OS version

Hello Matti,

 

Thank you for your reply.

 

I tried the command on 2 differents machines but I received error messages.

 

# swlist -l bundle HPUX11i-OE
# Initializing...
# Contacting target "xx"...
#
# ERROR: Software "HPUXi-OE" was not found on host :xx:/".
#

 

This is the exact data I need.

Actually, the issue is that I found differences between the shells that running on 2 machines.

That cause some problem, untill I copied the updated shells from the updated machine.

The porpose is to figure out if this was the problem.

 

BR,

Yali

Torsten.
Acclaimed Contributor

Re: OS version

>> ERROR: Software "HPUXi-OE" was not found on host :xx:/".

 

Looks like a typo, you forgot "11".


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Patrick Wallek
Honored Contributor
Solution

Re: OS version

Try this:

 

# swlist -l bundle | grep HPUX11i
HPUX11i-OE-Ent B.11.11.0612 HP-UX Enterprise Operating Environment Component

Dennis Handly
Acclaimed Contributor

Re: OS version

># swlist -l bundle | grep HPUX11i

 

You can also use swlist's pattern matching:

swlist -l bundle "*HPUX11i*"

Highlighted
Yaroki
Super Advisor

Re: OS version

Thank you all!