rendered paste bodyPreciso saber FISICAMENTE quantos processadores eu tenho na máquina.
[root@linuxprod02 root]# uname -a
Linux linuxprod02 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:35:44 EST 2005 i686 i686 i386 GNU/Linux
[root@linuxprod02 root]#
[root@linuxprod02 root]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 9
cpu MHz : 3050.199
cache size : 512 KB
physical id : 6
siblings : 2
runqueue : 0
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 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 6081.74
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 9
cpu MHz : 3050.199
cache size : 512 KB
physical id : 6
siblings : 2
runqueue : 0
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 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 6094.84
[root@linuxprod02 root]#
[root@linuxprod02 root]# lshw
linuxprod02
description: Rack Mount Chassis
product: ProLiant DL380 G3
vendor: HP
serial: C020LJC12J
width: 32 bits
capabilities: smbios-2.3 dmi-2.3
configuration: boot=normal chassis=rackmount uuid=43303230-4C4A-4331-324A-202020202020
*-cpu:0
description: CPU
product: Intel(R) Xeon(TM) CPU 3.06GHz
vendor: Intel Corp.
physical id: 406
bus info: cpu@0
version: 15.2.9
slot: Proc 1
size: 3066MHz
capacity: 3600MHz
width: 32 bits
clock: 533MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
configuration: id=6
*-cache:0
description: L1 cache
physical id: 716
slot: Processor 1 Internal L1 Cache
size: 8KB
capacity: 32KB
capabilities: burst internal write-back
*-cache:1
description: L2 cache
physical id: 726
slot: Processor 1 Internal L2 Cache
size: 512KB
capacity: 2MB
capabilities: burst internal write-back
*-cache:2 DISABLED
description: L3 cache
physical id: 736
slot: Processor 1 Internal L3 Cache
capacity: 1MB
capabilities: burst internal write-back
*-logicalcpu:0
description: Logical CPU
physical id: 6.1
width: 32 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 6.2
width: 32 bits
capabilities: logical
*-cpu:1
description: CPU
vendor: Intel
physical id: 400
bus info: cpu@1
version: 15.2.9
slot: Proc 2
size: 18EHz
clock: 400MHz
capabilities: ht
configuration: id=6
*-cache:0 DISABLED
description: L1 cache
physical id: 710
slot: Processor 2 Internal L1 Cache
size: 8KB
capacity: 32KB
capabilities: burst internal
*-cache:1 DISABLED
description: L2 cache
physical id: 720
slot: Processor 2 Internal L2 Cache
size: 512KB
capacity: 2MB
capabilities: burst internal
*-cache:2 DISABLED
description: L3 cache
physical id: 730
slot: Processor 2 Internal L3 Cache
capacity: 1MB
capabilities: burst internal
*-logicalcpu:0
description: Logical CPU
physical id: 6.1
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 6.2
capabilities: logical
[root@linuxprod02 root]# dmidecode
# dmidecode 2.2
SMBIOS 2.3 present.
Handle 0x0406
DMI type 4, 32 bytes.
Processor Information
Socket Designation: Proc 1
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: 29 0F 00 00 FF FB EB BF
Signature: Type 0, Family F, Model 2, Stepping 9
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
SBF (Signal break on FERR)
Version: Not Specified
Voltage: 1.7 V
External Clock: 533 MHz
Max Speed: 3600 MHz
Current Speed: 3066 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x0716
L2 Cache Handle: 0x0726
L3 Cache Handle: 0x0736
Handle 0x0400
DMI type 4, 32 bytes.
Processor Information
Socket Designation: Proc 2
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: 00 00 00 00 00 00 00 00
Signature: Type 0, Family 0, Model 0, Stepping 0
Flags: None
Version: Not Specified
Voltage: 1.7 V
External Clock: 400 MHz
Max Speed: 3600 MHz
Current Speed: Unknown
Status: Unpopulated
Upgrade: ZIF Socket
L1 Cache Handle: 0x0710
L2 Cache Handle: 0x0720
L3 Cache Handle: 0x0730