HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

BIOS/Machine serial number

Viney Kumar
Regular Advisor

BIOS/Machine serial number

HI All


Please explain the meaning of below commands

echo "selclass qualifier CPU;info;wait;infolog"| /usr/sbin/cstm 2>/dev/null | sed -n -e '/Board Info!/,/Artwork Rev/p' 2>/dev/null

can we get the BIOS /Machine serial number from it.

Im already aware about print_manifest and getconf MACHINE_SERIAL

Kranti Mahmud
Honored Contributor

Re: BIOS/Machine serial number

sujit kumar singh
Honored Contributor

Re: BIOS/Machine serial number

Hi The cstm command does show the System Serial Number.

you can use as a superuser

cstm>map sel all

R.K. #
Honored Contributor

Re: BIOS/Machine serial number

Hi Viney,

Two ways:

cstm>sel dev all

Don't fix what ain't broke
Acclaimed Contributor

Re: BIOS/Machine serial number

I think your command greps for component serial numbers, but nor system serial.
This is kind of useless I guess.

Try to select the system item in stm or use "machinfo".

Hope this helps!

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!   
Bill Hassell
Honored Contributor

Re: BIOS/Machine serial number

The example is very specific for board information. If the serial number is what you need, you can use this command:

echo "selclass qualifier system;info;wait;infolog" | cstm | grep -i serial

Since you did not specify which of the several dozen (and very different) models that you have, there may not be a serial number electronically readable. As far as a BIOS revision, HP-UX boxes are much more complex than a simple PC so there is no single value for firmware. There are board firmware values, management port firmware values, even backplanes and power control values. Leave off the grep from the above command and you can see the various subsystems and numbers.

Bill Hassell, sysadmin