*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> hostid (1)              
Title
Content
Arch
Section
 

Contents


HOSTID(1)							     HOSTID(1)


NAME    [Toc]    [Back]

     hostid - set or print identifier of current host system

SYNOPSIS    [Toc]    [Back]

     hostid [ hexnum | hostname	]
     hostid -h hostname

DESCRIPTION    [Toc]    [Back]

     The hostid	command	with no	arguments prints the identifier	of the current
     host in hexadecimal.  This	numeric	value is expected to be	unique across
     all hosts and is commonly set to the host's Internet address.  The
     super-user	can set	the host ID by giving an argument that is a
     hexadecimal value or a hostname.  With the	-h option, the argument	must
     be	a hostname.  If	the argument is	a hostname, hostid sets	the ID to the
     name's Internet address listed in /etc/hosts.  Hostid sets	the exit
     status to 0 if it successfully changed the	host ID	and to 1 if not.  The
     script /etc/init.d/network	uses hostid to set the ID during system
     startup to	the Internet address of	the hostname found in /etc/sys_id.

FILES    [Toc]    [Back]

     /etc/hosts	    hostname-address database

SEE ALSO    [Toc]    [Back]

      
      
     gethostid(2), sethostid(2), sysinfo(1), network(1M), hosts(4)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
hostid Linux print the numeric identifier for the current host
hostname IRIX set or print name of current host system
hostname OpenBSD set or print name of current host system
hostname FreeBSD set or print name of current host system
domainname OpenBSD set or print YP domain of current host system
gethostid HP-UX get an identifier for the current host
sethostid OpenBSD get/set unique identifier of current host
gethostid Linux get or set the unique identifier of the current host
gethostid NetBSD get/set unique identifier of current host
gethostid Tru64 Get the unique identifier of the current host
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service