Operating System - HP-UX
1834752 Members
3145 Online
110070 Solutions
New Discussion

Re: uname -i gives hostname outpug

 
jagdeesh
Frequent Advisor

uname -i gives hostname outpug

Hello,

I have HP rp2470 running HP-UX 11i. When i give 'uname -i', its giving the hostname instead of the machine id. But machine id is available in uname -i. How do i solve this. Can any one help me.???

...Jags
2 REPLIES 2
Rainer von Bongartz
Honored Contributor

Re: uname -i gives hostname outpug

see the below part of man uname

-i Display the machine identification number (or the
node name, if the machine identification number
cannot be determined). This option cannot display
the unique machine identification number. For
getting the unique machine identification number
refer to the getconf command or confstr call. See
getconf(1)) and confstr(3C).
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
T G Manikandan
Honored Contributor

Re: uname -i gives hostname outpug

Call up the Customer Engr of HP and tell him to re-run the SSCONFIG which should make things right.

SSCONFIG can only be executed by the HP CE.


Thanks