Integrity Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I get System Serial number from commandmenu in MP on Integrity?

 
SOLVED
Go to solution
Adam Garsha
Valued Contributor

Can I get System Serial number from commandmenu in MP on Integrity?

How do I get system serial number? Can I get it from UNIX level? If not is there a way to get it from the MP while the system is online?
7 REPLIES 7
Steven E. Protter
Exalted Contributor
Solution

Re: Can I get System Serial number from commandmenu in MP on Integrity?

Shalom Adam,

The stm series of tools is normally used to display system serial number, not the MP.

You can of course go to conole mode and run cstm to display the serial number.

It is possible to write a script that goes through the menu system of cstm.

http://docs.hp.com/en/diag/stm/str_0103_11.htm

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Christian Tremblay
Trusted Contributor

Re: Can I get System Serial number from commandmenu in MP on Integrity?

try:

# getconf MACHINE_SERIAL

Chris
Ivan Krastev
Honored Contributor

Re: Can I get System Serial number from commandmenu in MP on Integrity?

You can with:

getconf MACHINE_SERIAL


regards,
ivan
Pete Randall
Outstanding Contributor

Re: Can I get System Serial number from commandmenu in MP on Integrity?

Peter Godron
Honored Contributor

Re: Can I get System Serial number from commandmenu in MP on Integrity?

Adam,
try the two commands:
echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial Number"
or
echo 'selclass qualifier all;info;wait;infolog' | /usr/sbin/cstm |grep -i "system serial number"
Adam Garsha
Valued Contributor

Re: Can I get System Serial number from commandmenu in MP on Integrity?

See above.
Hemmetter
Esteemed Contributor

Re: Can I get System Serial number from commandmenu in MP on Integrity?

Hi Adam,

several options:
#machinfo | grep "machine serial number"

#echo "selclass qualifier system;info;wait;il" | cstm | grep "System Serial Number"

rgds
HGH