Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: "sysctl-like" command for finding processor speed?

From: Paul de Weerd <paul(at)mail.me.maar.nu>
Date: Fri Feb 28 2003 - 07:03:12 EST

On Fri, Feb 28, 2003 at 11:39:16AM +0000, Miod Vallat wrote:
| > So here a "grep MHz | cut -f5 -d' ' | cut -f1 -d'M'" would be in

$ sysctl hw.model
hw.model = Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache)

There's no CPU speed in there.

$ sysctl hw.model
hw.model = Digital Personal WorkStation 600au

Looks more like it, but that one still claims to be $ dmesg | grep MHz
Digital Personal WorkStation 600au, 598MHz

I have no idea what you might want to use this info for, if your CPU isn't powerful enough to run ${FOO}, you'll notice when trying ;)

Cheers,

Do you need help?X

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 
http://www.weirdnet.nl/                 
Received on Fri Feb 28 07:05:33 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:33:19 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library