From owner-freebsd-questions@FreeBSD.ORG Mon Mar 27 09:01:51 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 B96F216A401 for ; Mon, 27 Mar 2006 09:01:51 +0000 (UTC) (envelope-from dhenin@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ACD343D45 for ; Mon, 27 Mar 2006 09:01:50 +0000 (GMT) (envelope-from dhenin@gmail.com) Received: by nproxy.gmail.com with SMTP id c29so1033658nfb for ; Mon, 27 Mar 2006 01:01:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TlrZevfK68GY78biyz/1pczhnFpH9RCOwmQw6UQzA1PXJJpmysK+eK7Sc7KFhaZeIosOUqMluDrlLyUBRQKCTQYJILkSMc/xLu+DQ6QyP1E3O6J+C5V6v2sPNgdyjqAzs9t2F+Zyjce2+pwhwHeC/Pyu7QcuJJBr3wWekeSHSUE= Received: by 10.49.41.2 with SMTP id t2mr255867nfj; Mon, 27 Mar 2006 01:01:18 -0800 (PST) Received: by 10.48.211.16 with HTTP; Mon, 27 Mar 2006 01:01:18 -0800 (PST) Message-ID: <12437d830603270101l274a6a0co@mail.gmail.com> Date: Mon, 27 Mar 2006 11:01:18 +0200 From: "=?ISO-8859-1?Q?Dh=E9nin_Jean-Jacques?=" Sender: dhenin@gmail.com To: freebsd-questions@freebsd.org In-Reply-To: <20060327172331.648b8f59@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060327172331.648b8f59@localhost> Subject: Re: cat /proc/cpuinfo ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?ISO-8859-1?Q?Dh=E9nin_Jean-Jacques?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 09:01:51 -0000 pkg_add cpuid and :; cpuid eax in eax ebx ecx edx 00000000 00000002 756e6547 6c65746e 49656e69 00000001 00000f27 0001080a 00000400 bfebfbff 00000002 665b5101 00000000 00000000 003b7040 80000000 80000004 00000000 00000000 00000000 80000001 00000000 00000000 00000000 00000000 80000002 20202020 20202020 20202020 20202020 80000003 65746e49 2952286c 6c654320 6e6f7265 80000004 20295228 20555043 30322e32 007a4847 Vendor ID: "GenuineIntel"; CPUID level 2 Intel-specific functions: Version 00000f27: Type 0 - Original OEM Family 15 - Pentium 4 Extended family 0 Model 2 - Intel Pentium 4 processor (generic) or newer Stepping 7 Reserved 0 ... and so on. dmidecode is interesting also. 2006/3/27, Norberto Meijome : > 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=3D"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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > -- jjd