Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: fuller@pt9113.ped.pto.ford.com
Subject: Re: Unique system id on Digital Unix 3.2/4.0?
Date: 1996/03/27	[thread overview]
Message-ID: <4jac7d$ptk@pt9201.ped.pto.ford.com> (raw)
In-Reply-To: 4j7raq$57k@jade.in.on.ca

In article <4j7raq$57k@jade.in.on.ca>, emspace@PROBLEM_WITH_YOUR_MAIL_GATEWAY_FILE.in.on.ca (Dr. S. Ghosh) writes:
>	I want to be able to uniquely identify a system. The command hostid
>exists which on Solaris gives a unique number identifying the system. The
>man page on digital unix implies that this is also the case for digital 
>unix. However, on 2 separate systems, I get 0. 
>
>	Is there a trick to this? Is the documentation wrong? Is there a 
>way of doing this? 


Did you read the entire man page for "hostid"?  It says that you can set the
hostid from your startup, in much the same way that you set your hostname. 
Then, users can read the hostid via either the command or a system call.

If you get a 0 back, then it just means that the system manager didn't set it.

+===================+========================+================================+
|    ____           | Stuart R. Fuller       | fuller@pt9113.ped.pto.ford.com |
|   /   /           | Digital Equipment Corp.| fuller@ohfss1.enet.dec.com     |
|  /____  _/_       | Detroit, MI, USA, Earth| 76703.501@compuserve.com       |
|      /  /   /   / +========================+================================+
| /___/  /_  /___/\ |     Opinions expressed here are mine, and mine alone    |
+===================+=========================================================+



      parent reply	other threads:[~1996-03-27  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-26  5:00 Unique system id on Digital Unix 3.2/4.0? Dr. S. Ghosh
1996-03-26  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-03-27  5:00 ` fuller [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox