Subject: Re: Extracting hostid on NetBSD/sparc
To: David Brownlee <abs@anim.dreamworks.com>
From: Gandhi woulda smacked you <greywolf@starwolf.com>
List: port-sparc
Date: 04/23/1999 12:26:42
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?

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


				--*greywolf;
--
	     A _Real_ Operating System for _Real_ Hackers.

	     ____ __   _  ____ __ __ ___  ___   ___
	     ___ /  | / /__  _/ /_  /   |/ __\ / _ |
	     __ /   |/ // _\/_  _/ / ' / \_ \ / /  /
	     _ / /|   // __/ / /_ / , | __/ // / ,/
	      /_/ |__/_\__/__\__//___/__\__//___'

	     With many thanks to the core team and UCB CSRG.