centos查询 硬盘序列号查询_CentOS/Linux 查看硬件配置CPU内存磁盘

【查看系统内存空间】

引用

free -m

total used free shared buffers cached

Mem: 3500 637 2863 0 51 290

-/+ buffers/cache: 294 3205

Swap: 7999 0 7999

以MB为单位显示内存空间,“Mem”后的total列就是内存大小。3500实际就是4GB。

【查看内存插槽和内存条】

引用

dmidecode --type memory

# dmidecode 2.11

SMBIOS 2.7 present.

Handle 0x0040, DMI type 16, 23 bytes

Physical Memory Array

Location: System Board Or Motherboard

Use: System Memory

Error Correction Type: None

Maximum Capacity: 32 GB ##硬件能够支持的最大量

Error Information Handle: Not Provided

Number Of Devices: 4 ##内存插槽数量

Handle 0x0042, DMI type 17, 34 bytes

Memory Device

Array Handle: 0x0040

Error Information Handle: Not Provided

Total Width: 64 bits

Data Width: 64 bits

Size: 4096 MB ##内存条空间

Form Factor: DIMM

Set: None

Locator: ChannelA-DIMM0

Bank Locator: BANK 0 ##插槽位置编号

Type: DDR3 ##内存条类型

Type Detail: Synchronous

Speed: 1333 MHz ##内存条主频

Manufacturer: Kingston ##内存条厂商

Serial Number: 9B369A8C

Asset Tag: 9876543210

Part Number: 99P5474-055.A00LF

Rank: 1

Configured Clock Speed: 1333 MHz

Handle 0x0044, DMI type 17, 34 bytes

Memory Device

Array Handle: 0x0040

Error Information Handle: Not Provided

Total Width: Unknown

Data Width: Unknown

Size: No Module Installed ##插槽没安装内存条

Form Factor: DIMM

Set: None

Locator: ChannelA-DIMM1

Bank Locator: BANK 1

Type: Unknown

Type Detail: None

Speed: Unknown

Manufacturer: [Empty]

Serial Number: [Empty]

Asset Tag: 9876543210

Part Number: [Empty]

Rank: Unknown

Configured Clock Speed: Unknown

【查看磁盘及分区情况】

引用

fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes ##磁盘sda空间1TB,分三个区

255 heads, 63 sectors/track, 121601 cylinders

<

你可能感兴趣的:(centos查询,硬盘序列号查询)