home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aix / 12816 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.7 KB  |  46 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!news.cs.indiana.edu!babbage.ece.uc.edu!ucunix.san.uc.edu!ewilson
  3. From: ewilson@ucunix.san.uc.edu (Eliot Wilson)
  4. Subject: Re: Hostid on RS/6000
  5. Message-ID: <Bzq11v.BJy@ucunix.san.uc.edu>
  6. Organization: University of Cincinnati
  7. References: <36950@sophia.inria.fr>
  8. Date: Wed, 23 Dec 1992 16:41:55 GMT
  9. Lines: 35
  10.  
  11. In article <36950@sophia.inria.fr> amara@delta.inria.fr (Fethi AMARA) writes:
  12. >Hi,
  13. >does the hostid command under AIX 3.1 (or 3.2) on RS/6000 returns a hard
  14. >coded value (same on sparc).
  15. >
  16. >Thanks.
  17. >Fethi.
  18.  
  19. No. The value can be set by root. Here's text from the man page under AIX 3.2.2
  20.  
  21.   The hostid command displays the identifier (either a unique host
  22.   name or a numeric argument) of the current  local host as a hexa-
  23.   decimal  number.   This numeric value is expected  to  be  unique
  24.   across all  hosts  and is commonly set to the address of the host
  25.   specified by the InternetAddress or HostName parameter.  The root
  26.   user can set the hostid command by specifying a hexadecimal
  27.   number for the HexNumber, InternetAddress, or HostName parameter.
  28.   The host id is set to the hostname by the /etc/rc.net file.
  29.  
  30. For a similar constant value under AIX 3.x look at 'uname -m'. 
  31.  
  32. -ELiot
  33.  
  34.  
  35. >-----------------------------------------------------------------------
  36. >Fethi Amara, MALIN Lab.    |email: amara@sophia.inria.fr
  37. >I.N.R.I.A Sophia Antipolis |Phone: (33)93.65.77.84 Fax: (33)93 65 77 83
  38. >mail: P.B. 93, 06902 Sophia Antipolis Cedex / France
  39.  
  40.  
  41. -- 
  42. Eliot Wilson         Univ. of Cincinnati      UG Computer Science
  43.    A-in't         IBM Cincinnati AIX Open Systems Solution Team
  44.    I-t             Internet:               VNET:   
  45.    X-citing          ewilson@ucunix.san.uc.edu      supewils@DETVMIC5
  46.