<div dir="ltr">If you're looking at the output of the 'hostid' program in RHEL6, most likely it's the IP address returned by gethostbyname(), represented in hexadecimal, unless you've set it specifically with sethostid().  Look at the man page for gethostid(3).</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 10:34 AM, Mirko Vukovic <span dir="ltr"><<a href="mailto:mirko.vukovic@gmail.com" target="_blank">mirko.vukovic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>A software vendor asked me to provide a hostid for a software license.<br>
<br></div>I typed in hostid, got an eight digit hexadecimal number and emailed it to them.<br>
<br></div>However, they were looking for a 12 digit hex number.<br><br>I sent them the hardware address of eth0.<br><br></div>My question is: how is the hostid number obtained?  Is it from a disk drive, or some other hardware.  I could not find information online.<br>

<br>Thank you,<br><br>Mirko<br></div>
<br>_______________________________________________<br>
rhelv6-list mailing list<br>
<a href="mailto:rhelv6-list@redhat.com">rhelv6-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rhelv6-list" target="_blank">https://www.redhat.com/mailman/listinfo/rhelv6-list</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jonathan Billings <<a href="mailto:jsbillin@umich.edu" target="_blank">jsbillin@umich.edu</a>><br>
College of Engineering - CAEN - Unix and Linux Support<br><br>
</div>