hostid(1) User Commands hostid(1)NAME
hostid - print the numeric identifier of the current host
The hostid command prints the identifier of the current host in hexadecimal. If it is executed within a non-global zone that emulates a
host identifier, the emulated host identifier is printed. This numeric value is likely to differ when hostid is run on a different machine.
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE ATTRIBUTE VALUE |
|Availability SUNWcsu |
SEE ALSO sysinfo(2), gethostid(3C), attributes(5), zones(5)SunOS 5.11 4 Feb 2009 hostid(1)
Check Out this Related Man Page
hostid(1) General Commands Manual hostid(1)NAME
hostid - Sets or displays the identifier of the local host
/usr/sbin/hostid [hostname | hexadecimal_number | internet_address]
The hostid command displays the 32-bit identifier of the host as a hexadecimal number in host standard byte order. The identifier must be
unique across all hosts and is commonly set to the Internet address of the specified host. The superuser can set the host ID by specifying
a hostname, internet_address, or hexadecimal_number argument. The identifier is stored in network standard byte order.
To display the identifier of the local host, enter: $ hostid
The hostid command displays the identifier of the host as a hexadecimal number in host standard byte order. To set the identifier
of the local host to the local Internet address, enter: $ hostid 5126.96.36.1995
The hostid command converts the Internet address to its hexadecimal equivalent, and then sets the local host to this address.
Note that the sample Internet address in this example, 5188.8.131.525, is not a valid Internet address and would cause hostid to
return an error.
Functions: gethostid(2), sethostid(2)hostid(1)
what are the steps to modify the hostid and ethernet address "nvram content" of Sun ultra 5 and Sun ultra 10 machines, simple steps if available would be appreciated
Ultra 5 P/N 380-0176-01
ultra 10 P/N 600-3796-02 (2 Replies)
I have to change the HostID for my SUNFire880 in lab.
Can some body help me? and give the detail procedure?
I don't think the command "mkp" can be used in SUNFire880 system.
So please help!:cool: (2 Replies)
Atmel offers a broad range of microcontrollers based on the 8051 architecture. The product line includes MCS-51® industry standard socket drop-in devices, In-System Programming capability, and small footprint 20-pin derivatives in ROMless, ROM, OTP & Flash flavors (see on-line selection table).... (2 Replies)
I would like to know that I have configure the OS & other application on the SunFire V440 server
1) If suppose no hostid base software install in that v440 server & if some problem comes in the motherboard of that server. If I remove the harddisk ( on which Solaris & other... (4 Replies)
please , I need an urgent help.
I reinstalled our server Sun X4150. What was changed:
our two disks were changed to raid1 and I installed a never version of Solaris 10 (previously the version from 12/2009 was used, now a version from 03/2010).
what I'm surprised, the... (3 Replies)
I've searched the UNIX forum looking for a simple procedure how to change\control my Solaris server hostid.
I did found few threads but all of them either have broken links to all kinds of scripts or not described simply for some UNIX beginers user like me.
Can anyone assist me?
I... (21 Replies)
I am facing a simple problem . I have a x6270 server attached to a M6000 chasis. The server is fresh i:e O/S is not installed in it.
Now the customer is asking for the HostID of that server. I have tried every possible way but i am not able to find the HostID .I went through the... (4 Replies)
We have a Sun M5000. I am now trying to boot the second system domain by using the boot disk (a mirrored boot disk actually) of the first domain (if succeed then no OS installation is needed for the second domain). I got the following errors:
SPARC Enterprise M5000 Server, using Domain... (21 Replies)
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
There is no /etc/hostid file.
I know that there is no relationship between with MAC address and hostid. There are a lot of scripts on the net but how can I exactly do in my case. :rolleyes: (4 Replies)
currently I'm working on migration services from physical to virtual server (RHEL 6). One form applications is binded to hostid of old server.
I put value of hostid from old server to the /etc/hostid on new server, but output of hostid command is giving nonsenses then.
#... (0 Replies)
Wrote this script earlier and said to hicksd8 that I'd post it here, it's just a quick and dirty hack to change the hostid of a global zone on a Solaris Virtual running under a hypervisor - manes and ID changed to protect the inocent.
#!/usr/bin/bash... (1 Reply)
I've been presented with an unexpected problem and I'm not sure if I can resolve it without some input from people.
I have on this site 3 license servers running Solaris, one at;
SunOS xxxxxx 5.8 Generic_117350-08 sun4u sparc SUNW,Ultra-5_10
SunOS yyyyyy 5.7... (12 Replies)