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

Robert Novak rescue at sunhelp.org
Thu Apr 19 17:31:41 CDT 2001


On Thu, 19 Apr 2001, Greg A. Woods wrote:

> Hillarious, especially given that the FreeBSD nuts have gone to
> exceptional lengths to try and calculate the CPU clock frequency.  The
> NetBSD guys won't try to do that because on most iAPX86 CPUs it's
> impossible to do "correctly"!  :-)
> 
> BTW, on at least recent NetBSD machines the answer is quite simple:
> 
> 	less /var/run/dmesg.boot

Yeah, appears to work on FreeBSD as well. 

I think the item I was really wondering about though, now that I look at
that and the cpuinfo display on my linux box, was L2 cache size. Nice to
be able to check a randomly acquired PPro without extracting it from the
system. 

	model name      : Celeron (Mendocino)
	stepping        : 0
	cpu MHz         : 375.185381
	cache size      : 128 KB

That comes off a Linux system from /proc/cpuinfo. 

	CPU: Pentium/P54C (132.86-MHz 586-class CPU)
	  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
	  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
	Programming 24 pins in IOAPIC #0
	FreeBSD/SMP: Multiprocessor motherboard
	 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
	 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
	 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000

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)...

Oh, on another odd topic (maybe this should go to another list?) ... has
anyone played with fssnap in Solaris 8 1/01 or 4/01 yet? Supposed to offer
a lower-cost Instant Image/snapshot facility, and I could see it being
useful if it works. Maybe even worth upgrading some of my servers at work
to it.

--Rob

Robert Novak, Indyramp Consulting * rnovak at indyramp.com * indyramp.com/~rnovak
        "And it's been a long December and there's reason to believe
           Maybe this year will be better than the last...." -- counting crows




More information about the rescue mailing list