Forum Moderators: phranque

Message Too Old, No Replies

How to find the processor type & speed on my managed server?

*nix server running Apache

         

MichaelBluejay

7:54 pm on Aug 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is there a Unix command I can issue that will tell me what processor type & speed I have on my managed server? My host doesn't list this info on their website.

And yes, I could check with my host, but I'd rather not, long story....

jtara

12:29 am on Aug 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



cat /proc/cpuinfo

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.

MichaelBluejay

4:24 am on Aug 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks, this is exactly what I needed. WW came through when Google didn't.