리눅스 메모리슬롯,cpu정보,파워상태 확인방법
centos 현재 사용중인 메모리슬롯, 빈 메모리슬롯 확인방법
1.메모리상태확인
쉘에서 dmidecode -t 17 | egrep ‘Memory|Size’ 를 입력하면
Memory Device
Size: 8192 MB
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
위와같이 나온다 첫번째 8192MB는 8기가짜리 메모리가 하나 꽂혀있단 뜻이고
아래 No Module Installed 는 빈 슬롯을 뜻한다.
즉 지금 서버에는 메모리슬롯이 총 16개 그중 8기가 메모리 하나만 꽂혀있는걸 확인할 수 있다
2.CPU 확인방법
dmidecode -t processor
Handle 0x0004, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: E4 06 03 00 FF FB EB BF
Signature: Type 0, Family 6, Model 62, Stepping 4
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 (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
Voltage: 0.8 V
External Clock: 100 MHz
Max Speed: 2100 MHz
Current Speed: 2100 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number:
Asset Tag:
Part Number:
Core Count: 6
Core Enabled: 6
Thread Count: 12
Characteristics:
64-bit capable
Handle 0x0008, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU 2
Type: Central Processor
Family:
Manufacturer: Not Specified
ID: 00 00 00 00 00 00 00 00
Version: Not Specified
Voltage: 0.0 V
External Clock: Unknown
Max Speed: Unknown
Current Speed: Unknown
Status: Unpopulated
Upgrade:
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Characteristics:
64-bit capable
위 정보로 보면
cpu소캣은 2개,
첫번째 소캣에 version 부분을 보면 Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz cpu가 꽂혀있는것으로 확인
두번째 소캣은 cpu가 없어 정보가 뜨지 않는걸 확인할 수 있다.
3.파워상태 확인
dmidecode -t chassis
Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: ...............................
Type: Rack Mount Chassis
Lock: Not Present
Version: ..................
Serial Number: ..................
Asset Tag: ....................
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
위에 나와있는 내용을 보면
power supply state(파워서플라이 상태)는 safe인것이 확인되며
Number Of Power Cords(전원코드 수, 파워갯수): 1 인것이 확인된다
그 외에 dmidecode로 확인 할 수 있는 정보가 많다
정보를 확인할 때 주로 쓰는 옵션으로 -t , -s 가 있으며 dmidecode -t , dmidecode -s 로 어떤것을 확인 할 수 있는지 조회가 가능하다
centos 현재 사용중인 메모리슬롯, 빈 메모리슬롯 확인방법
1.메모리상태확인
쉘에서 dmidecode -t 17 | egrep ‘Memory|Size’ 를 입력하면
Memory Device
Size: 8192 MB
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
Memory Device
Size: No Module Installed
위와같이 나온다 첫번째 8192MB는 8기가짜리 메모리가 하나 꽂혀있단 뜻이고
아래 No Module Installed 는 빈 슬롯을 뜻한다.
즉 지금 서버에는 메모리슬롯이 총 16개 그중 8기가 메모리 하나만 꽂혀있는걸 확인할 수 있다
2.CPU 확인방법
dmidecode -t processor
Handle 0x0004, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: E4 06 03 00 FF FB EB BF
Signature: Type 0, Family 6, Model 62, Stepping 4
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 (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
Voltage: 0.8 V
External Clock: 100 MHz
Max Speed: 2100 MHz
Current Speed: 2100 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number:
Asset Tag:
Part Number:
Core Count: 6
Core Enabled: 6
Thread Count: 12
Characteristics:
64-bit capable
Handle 0x0008, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU 2
Type: Central Processor
Family:
Manufacturer: Not Specified
ID: 00 00 00 00 00 00 00 00
Version: Not Specified
Voltage: 0.0 V
External Clock: Unknown
Max Speed: Unknown
Current Speed: Unknown
Status: Unpopulated
Upgrade:
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Characteristics:
64-bit capable
위 정보로 보면
cpu소캣은 2개,
첫번째 소캣에 version 부분을 보면 Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz cpu가 꽂혀있는것으로 확인
두번째 소캣은 cpu가 없어 정보가 뜨지 않는걸 확인할 수 있다.
3.파워상태 확인
dmidecode -t chassis
Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: ...............................
Type: Rack Mount Chassis
Lock: Not Present
Version: ..................
Serial Number: ..................
Asset Tag: ....................
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
위에 나와있는 내용을 보면
power supply state(파워서플라이 상태)는 safe인것이 확인되며
Number Of Power Cords(전원코드 수, 파워갯수): 1 인것이 확인된다
그 외에 dmidecode로 확인 할 수 있는 정보가 많다
정보를 확인할 때 주로 쓰는 옵션으로 -t , -s 가 있으며 dmidecode -t , dmidecode -s 로 어떤것을 확인 할 수 있는지 조회가 가능하다
댓글
댓글 쓰기