Operating System - HP-UX
1832857 Members
3297 Online
110048 Solutions
New Discussion

How to locate system Serial Number

 
SOLVED
Go to solution
Jerry_109
Super Advisor

How to locate system Serial Number

HP-UX B.11.11 U 9000/800/A500-7X
#######################################

Hello All,

Is there a way to pull the "system serial number" from the command line? I know how to use "cstm or mstm", but not get this info from the command line.

Thanks
Jerry
5 REPLIES 5
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: How to locate system Serial Number

Jerry,

Try with this command:

echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial Number"

Also the print manifest from ignite would show you the serial number.

Regards,

Jaime.
Work hard when the need comes out.
Geoff Wild
Honored Contributor

Re: How to locate system Serial Number

Try /usr/bin/getsn:

https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=980934

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sp4admin
Trusted Contributor

Re: How to locate system Serial Number

Hi Jerry,

this command will give a lot of information about your server. maybe more the you want. The couple of line will contain the serial number.

#print_manifest

sp,
Ludovic Derlyn
Esteemed Contributor

Re: How to locate system Serial Number

hi,

try
#echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial Number"

regards

L-DERLYN
Olivier Masse
Honored Contributor

Re: How to locate system Serial Number

getconf MACHINE_SERIAL