Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2001 14:47:33 -0500
From:      Gerd Knops <gerti@bitart.com>
To:        Marius <marius@mail.communityconnect.com>
Cc:        questions@FreeBSD.org
Subject:   Re: getting cpu info 
Message-ID:  <20010730194734.26662.qmail@camelot.bitart.com>
In-Reply-To: <Pine.BSF.4.21.0107301451590.8918-100000@utterlux.hq.communitconnect.com>
References:  <Pine.BSF.4.21.0107301451590.8918-100000@utterlux.hq.communitconnect.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marius wrote:
> I am trying to audit our company's network of *nix machines to find
> candidates for replacement for newer faster models.  I basically want
> write a script that logs in, executes some commands, and saves the
> appropriate info.  Perl is certainly up to the task, so that isn't a
> problem. I'm just not sure how to grab the appropriate cpu info from
> our FreeBSD machines. Linux has `cat /proc/cpuinfo` but I can't think
> of anything similar in FreeBSD.
>
> I am most of the way there, I have everything I need except the speed
> of the cpu(s) in MHz. Anybody know a quick and easy way to grab the
> cpu speed on a machine without rebooting it?
>
grep 'CPU:' /var/run/dmesg.boot

is one way.

Gerd

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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