Operating System - HP-UX
1752738 Members
5284 Online
108789 Solutions
New Discussion юеВ

Re: Check HP-UX system serial number

 
Sumant M Kumar
Frequent Advisor

Check HP-UX system serial number

Hi,

Is there any command to check system serial number in hp-ux.I dont want to check while booting or on ILO.

In VMS - $show cpu/full

Regards,
Sumant
10 REPLIES 10
Steven Schweda
Honored Contributor

Re: Check HP-UX system serial number

You mean like this?:

dyi # getconf MACHINE_SERIAL
TW23900053

dyi # getconf CS_MACHINE_SERIAL
TW23900053

dyi # machinfo | grep serial
Machine serial number: TW23900053


If I had an HP-UX question, then a VMS forum
is unlikely to be the first place I'd ask it.

An HP-UX Forum search for
serial
should find some things. That's where I
found the things shown above.

> In VMS - $show cpu/full

Sometimes, perhaps. Around here:

alp $ pipe show cpu /full | search sys$input serial
Primary CPU = 0
HWRPB CPUs = 4
Page Size = 8192
Revision Code =
Serial Number =
Serial Number..:
Raj D.
Honored Contributor

Re: Check HP-UX system serial number

Sumant M Kumar,

Check this out:


To find the system serial number:
- on 11iv1, (+ v2, v3 )

# ( echo "selclass qualifier system;info;wait;infolog" | /usr/sbin/cstm ) | grep -i "System serial"





- on v2 v3 :(11.23 & 11.31 )
# machinfo | grep "Machine serial"
Machine serial number: USE7400AN6



Cheers,
Raj.




(*Dont forget to assign the pending points. )

" If u think u can , If u think u cannot , - You are always Right . "
Sumant M Kumar
Frequent Advisor

Re: Check HP-UX system serial number

Thanks a lot Steven and Raj...its worked for me.

Regards,
Sumant
Suraj K Sankari
Honored Contributor

Re: Check HP-UX system serial number

Hi,
>>Is there any command to check system serial number in hp-ux.I dont want to check while booting or on ILO.

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

Suraj

Tingli
Esteemed Contributor

Re: Check HP-UX system serial number

Best way is to look at the system itself as sometimes those command will bring up a wrong SN, especially if the system is cloned one.
Viveki
Trusted Contributor

Re: Check HP-UX system serial number

Yes, Tingly came up with a right point.

The serial number of a system may vary from the label physically present. The feild engineer needs to re enter the parameters like serial number, product number etc. while replacing parts mainly the system board.
Torsten.
Acclaimed Contributor

Re: Check HP-UX system serial number

Best way is to look at the system itself as sometimes those command will bring up a wrong SN, especially if the system is cloned one.


This cannot be, because the number is directly read from the system, this data isn't stored on a disk.


OK, a "repaired" system may have a wrong value, but I would not call this "repaired" at all ... and you would see other strange things in this case.


Easy way

# machinfo
(if available)

or

# echo "sel dev 1; info;wait;il"|cstm

and grep for the serial number.

Remember, older systems do not store this at all.

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!   
kamaleswaran
Occasional Advisor

Re: Check HP-UX system serial number

Find Below listed command are help full to get serial number.

1) #print_manifest

2) #machinfo

3) #cstm
cstm>selall
cstm>infolog


q for quit.

Tingli
Esteemed Contributor

Re: Check HP-UX system serial number

As far as I can remember, that I had a system with wrong SN from those commands. It rarely happens and it does happen.