From owner-freebsd-questions@FreeBSD.ORG Mon Mar 27 07:23:40 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 9CC6316A41F for ; Mon, 27 Mar 2006 07:23:40 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EABD43D45 for ; Mon, 27 Mar 2006 07:23:39 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 2527 invoked from network); 27 Mar 2006 17:23:39 +1000 Received: from andromeda.lef.com.au (HELO localhost) (210.8.93.2) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Mar 2006 17:23:38 +1000 Date: Mon, 27 Mar 2006 17:23:31 +1000 From: Norberto Meijome To: Bill Schoolcraft Message-ID: <20060327172331.648b8f59@localhost> In-Reply-To: References: X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.16; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cat /proc/cpuinfo ? 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: Mon, 27 Mar 2006 07:23:40 -0000 On Sun, 26 Mar 2006 22:47:11 -0800 (PST) Bill Schoolcraft wrote: > Hello Family, > > Yes, yes, I know... I have a bunch of boxes under my desk here at > home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get > confused and that's what happened when I tried to type the following > on my FreeBSD box. > > cat /proc/cpuinfo > [....] > > Is there some *BSD port that will give me CPU information like the > above from the command line? You want the linux /proc behaviour. 1) make sure you have linux binary compatibility installed $ pkg_info | grep linux_base linux_base-8-8.0_14 Base set of packages needed in Linux mode (for i386/amd64) $ grep -i linux /etc/rc.conf linux_enable="YES" ( without a reboot, this equals to kldload linux) 2) add to /etc/fstab: linprocfs /compat/linux/proc linprocfs rw 0 0 and then you can get : [betom@ayiin] [Mon Mar 27 17:18:50 2006] ~ $ cat /compat/linux/proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 7 stepping : 8 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat b19 b21 mmxext mmx fxsr xmm b26 b27 b29 3dnow cpu MHz : 1995.02 bogomips : 1995.02 HIH, Beto