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:
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).
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
>> ERROR: Software "HPUXi-OE" was not found on host :xx:/".
Looks like a typo, you forgot "11".
># swlist -l bundle | grep HPUX11i
You can also use swlist's pattern matching:
swlist -l bundle "*HPUX11i*"
Thank you all!