System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to find machine serial number on hp-ux 11.00

 
SOLVED
Go to solution
Rohinton Daruwala_1
Occasional Contributor

how to find machine serial number on hp-ux 11.00

Hi
I need to extract the machine serial number on hp-ux 11.00
I know that using confstr(_CS_MACHINE_SERIAL....) or using cstm works on hp-ux 11.11
But neither of these methods seems to work on 11.00
Is there any alternative way to extract the machine serial number?
Any help would be appreciated.

Thanks
Rohinton Daruwala
13 REPLIES
Rajeev Shukla
Honored Contributor

Re: how to find machine serial number on hp-ux 11.00

Are you talking about the machine Identification number returned by 'uname -a'

Rajeev
twang
Honored Contributor

Re: how to find machine serial number on hp-ux 11.00

# echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial Number"
Massimo Bianchi
Honored Contributor

Re: how to find machine serial number on hp-ux 11.00

Hi,
in tis thread the solution:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc2d3506d69a7d711abdc0090277a778c,00.html

They didn't specify the OS, so i suppose that is valid the same

Massimo
twang
Honored Contributor

Re: how to find machine serial number on hp-ux 11.00

Or you may take a look at the physical machine, I think the serialnumber should be on a label on the back of the box.
RolandH
Honored Contributor

Re: how to find machine serial number on hp-ux 11.00

This works on my 11.00 system.

# echo "sel dev 1;info; wait;il"|cstm |grep -i "system serial"
System Serial Number...: USXXXXXXXXXX

But could it be that your system is not a new one? These procedures only working at A/L/N systems. If you have a old one like D/K/T etc. This is not working. Sorry, you have to go to system and read the tag.

HTH
Roland
Sometimes you lose and sometimes the others win
RAC_1
Honored Contributor

Re: how to find machine serial number on hp-ux 11.00

If you have ignite installed, then print_manifest command.

OR

echo "selall qualifier;info;wait;infolog"|cstm | grep -i "serial no."

There is no substitute to HARDWORK
Rohinton Daruwala_1
Occasional Contributor

Re: how to find machine serial number on hp-ux 11.00

I need to read the machine serial number from a program.
I don't seem to have cstm on my 11.00 machine.
Can it be done without cstm or confstr?
Massimo Bianchi
Honored Contributor
Solution

Re: how to find machine serial number on hp-ux 11.00

Hi,
cstm is freely installable and is very usefull for many purpose.


It comes with the diagnostic tool, in the Quarterly patch bundle cdrom.

Or freely downloadable from http://software.hp.com

Massimo
twang
Honored Contributor

Re: how to find machine serial number on hp-ux 11.00

stm is a common Diagnostic and Support Tools for the HP 9000 machines, i think you should install:

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6191AAE
Suresh Patoria
Super Advisor

Re: how to find machine serial number on hp-ux 11.00

Hi,

Run the stm tool

then select the system and from menu bar through tab click on tool--> information-->run

just wait for few second u will get the information of the system


Thank you
Rohinton Daruwala_1
Occasional Contributor

Re: how to find machine serial number on hp-ux 11.00

Hi
I installed the stm tool on 11.00 and I am able to run stm and cstm.
But it does not give me a "system" device the way it does in 11.11
I can see a lot of devices but is there any way to read the machine serial number?

Thanks
Rohinton
Pete Randall
Outstanding Contributor

Re: how to find machine serial number on hp-ux 11.00

Try here:

http://us-support3.external.hp.com/emse/bin/doc.pl/sid=3fbb9b9b1b73f967a4/distrib_redir=2+1059645589|*?rn=25&searchcategory=ALL&todo=search&x=24&searchtype=SEARCH_FORUMS&y=9&searchcriteria=exactphrase&searchtext=machine+serial+number&presort=rank


Pete


Pete
Harry5
Occasional Visitor

Re: how to find machine serial number on hp-ux 11.00

#


Pete Randall wrote:
Try here:

http://us-support3.external.hp.com/emse/bin/doc.pl/sid=3fbb9b9b1b73f967a4/distrib_redir=2+1059645589|*?rn=25&searchcategory=ALL&todo=search&x=24&searchtype=SEARCH_FORUMS&y=9&searchcriteria=exactphrase&searchtext=machine+serial+number&presort=rank


Pete



getconf MACHINE_SERIAL