From owner-freebsd-questions Thu Jun 7 4:13:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.82.131.18]) by hub.freebsd.org (Postfix) with ESMTP id 681E937B405 for ; Thu, 7 Jun 2001 04:13:26 -0700 (PDT) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.112.141.249]) by raven.ravenbrook.com (8.9.3/8.9.3) with ESMTP id MAA19850; Thu, 7 Jun 2001 12:13:23 +0100 (BST) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.11.3/8.11.2) with ESMTP id f57BCa602252; Thu, 7 Jun 2001 12:12:36 +0100 (BST) (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes To: garyj@jennejohn.org Cc: questions@freebsd.org Subject: Re: hardware inventory command In-Reply-To: Message from Gary Jennejohn of "Thu, 07 Jun 2001 12:52:57 +0200." <0106071252570L.02054@peedub.muc.de> Date: Thu, 07 Jun 2001 12:12:36 +0100 Message-ID: <2250.991912356@thrush.ravenbrook.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 2001-06-07 10:52:57+0000, Gary Jennejohn writes: > On Thursday 07 June 2001 11:44, Nick Barnes wrote: > > I want a command which will tell me what hardware I have on my system. > > Akin to 'hinv' on Irix. I can get this information from dmesg, or > > from /var/log/messages, if the last reboot wasn't too long ago, but if > > a system has been up for months or years I don't really want to have > > to reboot to get this information. > > > > It seems likely that this wouldn't be too hard for a kvm program. > > > > Nick B > > > > /var/run/dmesg.boot is a persistent copy of the boot messages is is only > changed when you reboot. Thanks; this is what I need. Some sort of hinv would still be nice. I'm thinking of writing one (basically traversing the device tree). Nick B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message