From owner-freebsd-questions@FreeBSD.ORG Wed Mar 22 10:53:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0091E16A401 for ; Wed, 22 Mar 2006 10:53:32 +0000 (UTC) (envelope-from wilfre@mail.ru) Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95FAA43D45 for ; Wed, 22 Mar 2006 10:53:31 +0000 (GMT) (envelope-from wilfre@mail.ru) Received: from [213.59.98.218] (port=11119 helo=[192.168.111.6]) by mx27.mail.ru with asmtp id 1FM0y2-000Dxs-00 for freebsd-questions@freebsd.org; Wed, 22 Mar 2006 13:53:30 +0300 Message-ID: <44212CA7.7020206@mail.ru> Date: Wed, 22 Mar 2006 13:53:27 +0300 From: "Andrey V. Semyonov" User-Agent: Thunderbird 1.5 (X11/20060309) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <44212B5F.9010305@yokohama.riken.jp> In-Reply-To: <44212B5F.9010305@yokohama.riken.jp> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Detecting CPU type without dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 10:53:32 -0000 Nathan Butcher wrote: > Here's a curly question:- How can you detect the CPU type (make, model, > and rated speed) on a running FreeBSD server without using dmesg? > > I can't shut this machine off to check BIOS messages, and neither can I > check dmesg (it seems that a pile of network dmesg logging has rotated > the kernel initialization log part off into the sunset). > > Is there a way to check CPU processor make and model type at all now? > I'm starting to wish that FreeBSD would save the kernel initialization > log in a place where it couldn't get lost (sort of like /proc in Linux > but without the fanciness that entails)... or perhaps there is such a > Valhalla in FreeBSD and I can't see it for the forest? You may try: # less /var/run/dmesg.boot The boot-stage dmesg is always saved there. Also, try to use linprocfs(5) and mount_linprocfs(8). The linux-style hardware description is there.