1843183 Members
4974 Online
110214 Solutions
New Discussion

Re: Host ID

 
SOLVED
Go to solution
Ernesto, Arias
Occasional Contributor

Host ID

Could you help me please in the next question: How can I get the Host ID on a HP 9000 Series 700?
I'll be apreciate for your help.
Best regards,
ernesto
Arias
9 REPLIES 9
MO_4
Frequent Advisor

Re: Host ID

#hostname
Mike Hassell
Respected Contributor

Re: Host ID

Ernesto,

Try the following:

uname -i

Do a 'man uname' to be sure.

Hope that helps.

-Mike
The network is the computer, yeah I stole it from Sun, so what?
Martin Johnson
Honored Contributor

Re: Host ID

"uanme -i" for the ID or "uname -n" for host name.

Marty
PIYUSH D. PATEL
Honored Contributor

Re: Host ID

Hi,

#hostname
uname

Piyush
Ceesjan van Hattum
Esteemed Contributor
Solution

Re: Host ID

Your hostid you can find with: uname -i
This 'uname -i' you can use on HPUX and AIX.
On Linux, Solaris and True64 it is called 'hostid'.

It is always handy to know the URL:
http://www.unixguide.net/unixguide.shtml

Regards,
Ceesjan
James R. Ferguson
Acclaimed Contributor

Re: Host ID

Hi:

# hostname

...yields the hostname.

# uname -i

...yields the NODENAME (for uucp) which is generally the same but could be different.

Regards!

...JRF...
Arockia Jegan
Trusted Contributor

Re: Host ID

"uname -i" is the easiest way to find out the host ID. Even the out put of the command /opt/ignite/bin/print_manifest will have the hostID of the system.
Jeff Schussele
Honored Contributor

Re: Host ID

Hi Ernesto,

If your question is in relation to a Flexlm license. You can use:

1) the output of uname -i (Note this is in decimal & you may need to lead it with a #)
2) the ouput of uname -i converted to hexidecimal => #echo $(uname -i) 16o p | dc
3) the MAC address of the base lan port stripped of the 0x (This is usually at HW path 0/0/0/0)

It would be nice if all HPs had unique HostIDs as Sun does.
Could be worse - Windoze has 4 diff IDs you could use ;^)

See the following link for more Flexlm info:

http://www.globetrotter.com/chap8.htm#916173

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Rory R Hammond
Trusted Contributor

Re: Host ID

Ernesto,

FYI, At startup the system figures out what it's hostname is by looking at /etc/rc.config.d/netconf


The system name can be set differently
uname -S xxx
hostname yyyy.





There are a 100 ways to do things and 97 of them are right