Re: OS version (399 Views)
Reply
Super Advisor
Yaroki
Posts: 203
Registered: ‎06-30-2011
Message 1 of 7 (402 Views)
Accepted Solution

OS version

Hello,

 

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

 

BR,

Yali

Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 7 (399 Views)

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
Super Advisor
Yaroki
Posts: 203
Registered: ‎06-30-2011
Message 3 of 7 (394 Views)

Re: OS version

[ Edited ]

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

Acclaimed Contributor
Torsten.
Posts: 23,451
Registered: ‎10-02-2001
Message 4 of 7 (384 Views)

Re: OS version

[ Edited ]

>> 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!   
Honored Contributor
Patrick Wallek
Posts: 13,787
Registered: ‎06-21-2000
Message 5 of 7 (382 Views)

Re: OS version

Try this:

 

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

Acclaimed Contributor
Dennis Handly
Posts: 25,291
Registered: ‎03-06-2006
Message 6 of 7 (371 Views)

Re: OS version

># swlist -l bundle | grep HPUX11i

 

You can also use swlist's pattern matching:

swlist -l bundle "*HPUX11i*"

Super Advisor
Yaroki
Posts: 203
Registered: ‎06-30-2011
Message 7 of 7 (360 Views)

Re: OS version

Thank you all!

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.