Operating System - HP-UX
1836426 Members
3848 Online
110100 Solutions
New Discussion

Re: how do I obtain the machine id when uname -i doesn't work

 
Kim_18
Advisor

how do I obtain the machine id when uname -i doesn't work

I am trying to obtain the machine id from a new system that was just installed for a license key and when I do a uname -i, instead of returning the machine id, it returns the host name. How else can I obtain the machine id?
13 REPLIES 13
Sanjay_6
Honored Contributor

Re: how do I obtain the machine id when uname -i doesn't work

Hi Kim,

Other then using "uname -i" you can also try,

# getconf MACHINE_IDENT

If this does not give you the machine identification number, you may have to open a hardware call with the vendor.

Hope this helps.

Regds
Jeff Schussele
Honored Contributor

Re: how do I obtain the machine id when uname -i doesn't work

Hi Kim,

I have no idea.
uname -i *always* returns the proper value for me.
Could this be a term type issue???

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Kim_18
Advisor

Re: how do I obtain the machine id when uname -i doesn't work

I tied the getconf command also and it comes back with a black line. I guess I will open a call with HP

Thanks
Deoncia Grayson_1
Honored Contributor

Re: how do I obtain the machine id when uname -i doesn't work

try

getconf CS_MACHINE_IDENT
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Sanjay_6
Honored Contributor

Re: how do I obtain the machine id when uname -i doesn't work

Hi,

You can also look at this doc from itrc,

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080020904

the doc id is KBRC00007912.

Hope this helps.

regds
baiju_3
Esteemed Contributor

Re: how do I obtain the machine id when uname -i doesn't work

Hi Kim,

For SD and RPs

parstatus |grep -i serial will give you the machine ID.

Regards,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
karan_3
Advisor

Re: how do I obtain the machine id when uname -i doesn't work

hi kim,
i have tried uname -i and getconf MACHINE_IDENT command in my server.Both command is working fine in my server. i think you have to call the hp engg for this one..
regards
karan
Raj D.
Honored Contributor

Re: how do I obtain the machine id when uname -i doesn't work

Byjulal ,

parstatus | grep -i serial , will give System serian No# , not machine ID , (that gives by uname -a.)

Kim , btw, what happend to uname command.



Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
David Bellamy
Respected Contributor

Re: how do I obtain the machine id when uname -i doesn't work

use uname -a and look at the 6 field.
Kim_18
Advisor

Re: how do I obtain the machine id when uname -i doesn't work

When I enter the uname -a - the 6th field lists the host name rather than the machine id. I will be opening a call with HP to see what they can tell me
Simon Wickham_6
Regular Advisor

Re: how do I obtain the machine id when uname -i doesn't work

Hi,

Issue a uname -a and this will give you the required machine id.

Regards,
Simon
Lolupee
Regular Advisor

Re: how do I obtain the machine id when uname -i doesn't work

did you try from the STM?

Try using STM either graphics or native.

Bill Hassell
Honored Contributor

Re: how do I obtain the machine id when uname -i doesn't work

Since both uname -i and getconf are reading values stored in the CPU board, apparently the board was replaced improperly and not setup correctly.


Bill Hassell, sysadmin