[26854] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: linux 9.4.26: athinfo cpuspeed

daemon@ATHENA.MIT.EDU (Kevin Chen)
Thu May 18 16:08:10 2006

Message-ID: <446CCF4B.5010502@mit.edu>
Date: Thu, 18 May 2006 15:47:23 -0400
From: Kevin Chen <kchen@mit.edu>
MIME-Version: 1.0
To: "andrew m. boardman" <amb@mit.edu>
In-Reply-To: <200605181930.k4IJUS2B015231@pothole.mit.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO
Cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu

andrew m. boardman wrote:
> Is max cpu speed information present in some trivially-scannable format
> in /proc/cpuinfo or elsewhere on such a machine?  If so, a copy of
> /proc/cpuinfo (or whatever else is relevant, assuming it's small) would
> be helpful.

It's available in the "model name" line, though admittedly, I don't know
if that's always the case.

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Pentium(R) 4 CPU 3.20GHz
stepping        : 3
cpu MHz         : 2794.302
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm pni monitor
ds_cpl est cid xtpr
bogomips        : 6390.30

Googling suggests that AMD processors return something like:
model name : mobile AMD Athlon(tm) XP2400+

which seems reasonable.

-- 
Kevin Chen
http://www.sneswhiz.com/

home help back first fref pref prev next nref lref last post