 |
|
Oracle Tips by Burleson |
CPU Related Information
Linux keeps information regarding the processor(s) in your
server in a file called /proc/cpuinfo. Here's the contents of
/proc/cpuinfo file from a basic PC:
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 1
cpu MHz : 398.273
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic
sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 794.62
Looks like we overloaded the CPU's again
You'll see that there is information regarding the vendor,
model, speed (cpu MHz), cache, whether the processor is
susceptible to four known cpu related bugs, and whether it has
a floating point unit (fpu). The bogomips reference is an
ambiguous speed rating calculated during boot-up. If the server
contained multiple processors, the information would be
repeated for each processor.
You can use this command to quickly count the number
of CPU's on the server.
The above book excerpt is from:
Easy Linux
Commands
Working Examples of Linux Command Syntax
ISBN:
0-9759135-0-6
Terry Clark
http://www.rampant-books.com/book_2005_1_linux_commands.htm |