1748180 Members
4314 Online
108759 Solutions
New Discussion юеВ

serial number of machine

 
SOLVED
Go to solution
vinuhcl
Advisor

serial number of machine


how to find out machine serial number in PA-RISC servers .

Regards
vinu
7 REPLIES 7
Hemmetter
Esteemed Contributor

Re: serial number of machine

Hi vinu

from: "http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1060138":

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

Or from: "http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1060313":

echo "selclass qualifier system;info;wait;infolog" | /usr/sbin/cstm | grep "System Serial Number"


rgds
HGH
karthik_in83
Frequent Advisor
Solution

Re: serial number of machine

For HP-UX 11i

# getconf MACHINE_SERIAL

you will get serial no of the m/c

by karthik
Matti_Kurkela
Honored Contributor

Re: serial number of machine

Note: this does not always work. Some older servers (older than L-class) simply don't have an electronically-readable serial number.

With these older servers, you must go to the server room with a pen and a notebook and find the serial number the old fashioned way.

MK
MK
Basheer_2
Trusted Contributor

Re: serial number of machine

Hello Vin,

2 ways to get it
1)
echo "sel path system ; info; wait infolog" |cstm|grep -i "system serial number"

2) if you have installed ISEE
grep -i SerialNumber /opt/hpservices/etc/motprefs
Geoff Wild
Honored Contributor

Re: serial number of machine

Also try

/usr/bin/getsn (part of sysinfo - attached - sysinfo.4.16.depot.gz)

/opt/ignite/bin/print_manifest


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.
Reshma Malusare
Trusted Contributor

Re: serial number of machine

Hi vinchul,

Refer followinf document:
http://docs.hp.com/en/B2355-60130/getconf.1.html

# getconf MACHINE_SERIAL will work.

Thanks & Regards
Reshma

ln_unix
Frequent Advisor

Re: serial number of machine

Hi Vinu,

use this command,

getconf CS_MACHINE_SERIAL
or
getconf MACHINE_SERIAL
or
simply run following command:

cat /var/opt/ignite/local/manifest/manifest.info | more

on this location u'll find serial number.ok.
bye

Regards,

Lokesh Nagpal.....