Ubuntu在Linux系统中检查RAM内存芯片的速度和规格
时间:2020-01-09 10:45:32 来源:igfitidea点击:
如何向运行Ubuntu Linux的服务器添加更多RAM。
我如何在不打开机箱的情况下找到我当前的RAM芯片信息,例如在Linux系统中的速度,类型和制造商名称?
您需要使用dmidecode命令,该命令是用于以人类可读格式转储计算机DMI(有时称为SMBIOS)表内容的工具。
该表包含对系统硬件组件(例如RAM)的描述,以及其他有用的信息,例如序列号和BIOS版本。
由于有了此表,您可以检索硬件信息,而不必探究实际的硬件。
打开命令行终端(选择应用程序>附件>终端),然后执行:
$ sudo dmidecode --type memory
或者
# dmidecode --type memory | less
或者
$ sudo dmidecode --type 17
输出示例:
# dmidecode 2.10 SMBIOS version fixup (2.51 -> 2.6). SMBIOS 2.6 present. Handle 0x0011, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 4 GB Error Information Handle: Not Provided Number Of Devices: 4 Handle 0x0012, DMI type 17, 27 bytes Memory Device Array Handle: 0x0011 Error Information Handle: No Error Total Width: 72 bits Data Width: 64 bits Size: 2048 MB Form Factor: DIMM Set: 1 Locator: DIMM#1A Bank Locator: Bank 1 Type: DDR2 Type Detail: Synchronous Speed: 667 MHz Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Handle 0x0013, DMI type 17, 27 bytes Memory Device Array Handle: 0x0011 Error Information Handle: No Error Total Width: 72 bits Data Width: 64 bits Size: 2048 MB Form Factor: DIMM Set: 1 Locator: DIMM#2A Bank Locator: Bank 2 Type: DDR2 Type Detail: Synchronous Speed: 667 MHz Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Handle 0x0014, DMI type 17, 27 bytes Memory Device Array Handle: 0x0011 Error Information Handle: No Error Total Width: 72 bits Data Width: 64 bits Size: 2048 MB Form Factor: DIMM Set: 1 Locator: DIMM#1B Bank Locator: Bank 1 Type: DDR2 Type Detail: Synchronous Speed: 667 MHz Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Handle 0x0015, DMI type 17, 27 bytes Memory Device Array Handle: 0x0011 Error Information Handle: No Error Total Width: 72 bits Data Width: 64 bits Size: 2048 MB Form Factor: DIMM Set: 1 Locator: DIMM#2B Bank Locator: Bank 2 Type: DDR2 Type Detail: Synchronous Speed: 667 MHz Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified