[SunRescue] BSD/Linux cpuinfo, also fssnap/solaris8 (was Re: Re: Help!)

Greg A. Woods rescue at sunhelp.org
Thu Apr 19 19:28:54 CDT 2001


[ On Thursday, April 19, 2001 at 15:31:41 (-0700), Robert Novak wrote: ]
> Subject: [SunRescue] BSD/Linux cpuinfo, also fssnap/solaris8 (was Re: Re: Help!)
>
> Yeah, appears to work on FreeBSD as well. 

I thought it might....

> That's as much as I get from FreeBSD so far. Is there a more informative
> app for *BSD to get cpu info? Other than a Linux rescue disk? :-) (which
> won't work, that box doesn't have a floppy anyway)...

Under NetBSD-1.5T with a PII-300Mhz I see the likes of:

	cpu0: Intel Pentium II (Klamath) (686-class), 299.22 MHz
	cpu0: I-cache 16K 32b/line 4-way, D-cache 16K 32b/line 2/4-way
	cpu0: L2 cache 512K 32b/line 4-way
	cpu0: features 80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
	cpu0: features 80fbff<PGE,MCA,CMOV,MMX>
 
Older netbsd was perhaps less verbose:

	cpu0: family 5 model 2 step c
	cpu0: Intel Pentium (P54C) (586-class)

(that's a different CPU than above of course, just plain old Pentium)

though 1.5T on a 486 says just:

	cpu0: Intel 486DX (486-class)

or maybe:

	cpu0: Intel 486DX2 (486-class)
	cpu0: features b<FPU,VME,PSE>

(I'm not sure there's any way to find out the L2 cache size on a 386/486
without asking the BIOS which will have discovered it from motherboard
specific jumper settings, etc.)

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods at acm.org>     <woods at robohack.ca>
Planix, Inc. <woods at planix.com>;   Secrets of the Weird <woods at weird.com>



More information about the rescue mailing list