From owner-freebsd-questions Mon Jul 30 12:47:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from camelot.bitart.com (BITart-45.BITart.com [206.103.221.45]) by hub.freebsd.org (Postfix) with SMTP id 9AD8C37B401 for ; Mon, 30 Jul 2001 12:47:35 -0700 (PDT) (envelope-from gerti@bitart.com) Received: (qmail 26663 invoked by uid 101); 30 Jul 2001 19:47:34 -0000 Message-ID: <20010730194734.26662.qmail@camelot.bitart.com> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 4.2mach v148) In-Reply-To: X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.2p1) Received: by NeXT.Mailer (1.148) From: Gerd Knops Date: Mon, 30 Jul 2001 14:47:33 -0500 To: Marius Subject: Re: getting cpu info Cc: questions@FreeBSD.org Reply-To: gerti-freebsdq@BITart.com References: 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 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