Subject: Re: Extracting hostid on NetBSD/sparc
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-sparc
Date: 04/23/1999 18:28:26
	I have _no_ idea what I was smoking when I missed that - many
	thanks!

> On Fri, 23 Apr 1999, David Brownlee wrote:
>
> >     Is there any way of getting the hostid from a userland process
> >     on an openprom NetBSD/sparc box?

On Fri, 23 Apr 1999, Gandhi woulda smacked you wrote:

> printf "%x" `sysctl -n kern.hostid`

On Sat, 24 Apr 1999, Izumi Tsutsui wrote:

> "sysctl kern.hostid" shows it (in decimal).