Date: Fri, 7 Aug 2015 11:28:55 -0500 From: Dutch Ingraham <stoa@gmx.us> To: Valeri Galtsev <galtsev@kicp.uchicago.edu> Cc: Quartz <quartz@sneakertech.com>, FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: 64bit P4 vs mfsBSD Message-ID: <20150807162854.GA6348@slack> In-Reply-To: <20924.128.135.52.4.1438957738.squirrel@cosmo.uchicago.edu> References: <55C3D434.6030005@sneakertech.com> <20150806220451.GA3683@slack> <55C3F50C.1000803@sneakertech.com> <20150807012036.GB3683@slack> <20924.128.135.52.4.1438957738.squirrel@cosmo.uchicago.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 07, 2015 at 09:28:58AM -0500, Valeri Galtsev wrote: > > On Thu, August 6, 2015 8:20 pm, Dutch Ingraham wrote: > > On Thu, Aug 06, 2015 at 08:00:12PM -0400, Quartz wrote: > >> >can you get a > >> >dmesg that will advise of the processor attributes? You're looking for > >> >"LM," (long mode). If that is there, it is a 64-bit processor. > >> > >> Does that work on linux? I can't get a dmesg off bsd until I figure out > >> how > >> to boot it. Also, where exactly am I looking? On a different machine > >> running > >> FreeBSD the only thing in dmesg I see that looks right is "AMD > >> Features=0x20100800<SYSCALL,NX,LM>". Is that the right line? > >> > > Seems everyone has a different concept of what should be in a dmesg. > > Linux may or may not have this info - my Slackware does not seem to, but > > it does have enough processor information (<dmesg | grep -i intel>) to > > search the web for that particular processor's attributes. > > > > If you have Linux running, <lscpu> will also work. > > cat /proc/cpuinfo > > comes to my mind for Linux. Never heard about <lscpu>. Is it one of > commands you can use on Linux box? What one need to install to have this > command? > > Valeri > I think it is part of the util-linux package. Here is a standard output: dutch@slack ~ $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 26 Stepping: 5 CPU MHz: 2400.178 BogoMIPS: 4800.35 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 4096K dutch@slack ~ $
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150807162854.GA6348>