Forum Moderators: phranque
This may not give you accurate CPU clock speed, however. If they are using a CPU that has power-saving technology that changes CPU speed, the reported CPU speed may be less than the maximum of the system.
However, the model name should reflect the CPU installed in the system, though it may or may not be clocked at the maximum for that model.
For example, my test machine reports this:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 43
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 1
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
.
.
.
It's clocked at 2000mHz (which is the standard clock speed for this model), but actually running at 1000mHz since the machine is idling.
Get to know the /proc directory. It's a pseudo file-system that contains "files" (actually, created on-the-fly when you access them) that contain all SORTS of information about your system.