MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
October
Sun Mon Tue Wed Thu Fri Sat
         
12
           
2010
Months
Oct


Tue, Oct 12, 2010 11:54 pm

Obtaining the CPU Speed from a Command Line

You can obtain the CPU speed from the command line on a Windows system, such as a Windows XP or Small Business Server (SBS) 2003 system by using the command wmic cpu get CurrentClockSpeed. Note: when you first run the command, you may see "Please wait while WMIC is being installed." or "Please wait while WMIC compiles updated MOF files." You may have to wait a few minutes before seeing the results, but the next time you issue a wmic cpu get command you shouldn't have that delay. Also note that this command is not available on Windows 2000 or prior versions of Microsoft Windows.

The clock speed will be displayed in MegaHertz (MHz); if you want the value in GigaHertz (GHz), just divide by 1,000.

C:\>wmic cpu get currentclockspeed
CurrentClockSpeed
1300

In the above case, the speed is 1300 Mhz, which is 1.30 GHz. The 1.30 GHz value could also be obtained through the Windows Graphical User Interface (GUI) by clicking on Start, selecting Control Panel, and then System on a SBS 2003 system.

You may also be able to get the processor speed along with the name using wmic cpu get name, but the speed won't necessarily be displayed on all systems. The name will tell you whether it is an Intel or AMD processor.

C:\>wmic cpu get name
Name
Intel(R) Celeron(R) CPU 1.80GHz

The following information was returned for a system with an AMD processor.

C:\>wmic cpu get name
Name
AMD Duron(tm)

References:

  1. Hertz
  2. Using WMIC For Gathering System Info
    Deepak Gulati's niche on the web

[/os/windows/commands] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo