Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2006 13:53:27 +0300
From:      "Andrey V. Semyonov" <wilfre@mail.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: Detecting CPU type without dmesg
Message-ID:  <44212CA7.7020206@mail.ru>
In-Reply-To: <44212B5F.9010305@yokohama.riken.jp>
References:  <44212B5F.9010305@yokohama.riken.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44212CA7.7020206>