In case you wonder what version of HP-UX you are running, the command to use is uname. Here's the syntax.
The output will be something like this
You can also play around with other parameters like -s
Output would be
As always, check the manual for this command to the other options.