On Microsoft Windows systems since Windows XP, you can use the Windows Management Instrumentation Command-line (WMIC) to obtain information on a system's Central Processing Unit (CPU). E.g., you can issue the command
wmic
cpu get name
to determine if the processor is an AMD or Intel processor.
C:\>wmic cpu get name Name AMD FX(tm)-4100 Quad-Core Processor
You can also specify, manufacturer
as an option to the command,
instead.
C:\>wmic cpu get manufacturer Manufacturer AuthenticAMD C:\>
Or wmic cpu get caption
.
C:\>wmic cpu get caption Caption AMD64 Family 21 Model 1 Stepping 2
If you want to know the CPU's clock speed, you can use
currentclockspeed
. There is also a maxclockspeed
parameter.
C:\>wmic cpu get currentclockspeed CurrentClockSpeed 3600 C:\>wmic cpu get maxclockspeed MaxClockSpeed 3600 C:\>
If you want to obtain a figure for the current CPU utilization from
a command line interface (CLI), i.e.,
a
command prompt, rather than checking it through a
GUI, such as
through the Task Manager, you can use wmic cpu get
loadpercentage
.
C:\>wmic cpu get loadpercentage LoadPercentage 19