From owner-freebsd-questions Thu Jun 7 3:28:12 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 1255837B405 for ; Thu, 7 Jun 2001 03:28:09 -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 LAA19714; Thu, 7 Jun 2001 11:28:06 +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 f57ARJ602149; Thu, 7 Jun 2001 11:27:19 +0100 (BST) (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes To: Gallagher Cc: questions@FreeBSD.ORG Subject: Re: hardware inventory command In-Reply-To: Message from Gallagher of "Thu, 07 Jun 2001 06:22:29 EDT." Date: Thu, 07 Jun 2001 11:27:19 +0100 Message-ID: <2147.991909639@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:22:29+0000, Gallagher writes: > > > On Thu, 7 Jun 2001, 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. > > You can run dmesg any time. Doesn't matter when you last rebooted. Just > type it at the shell. At least that's what I've always done. But if the kernel message buffer has wrapped around in the meantime, that won't give me the boot-time messages. Nick B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message