zoukankan      html  css  js  c++  java
  • Linux dmidecode 命令

    摘自:https://www.cnblogs.com/pzk7788/p/10314436.html

    dmidecode 用于获取主机的硬件信息,通常是在不打开计算机机箱的情况下使用该命令来查找硬件详细信息,常见用法如下:

    [root@localhost ~]$ yum install -y dmidecode
    复制代码
    [root@localhost ~]$ dmidecode                          # 打印所有硬件信息
    [root@localhost ~]$ dmidecode -q                       # 打印所有硬件信息,比较简洁
    [root@localhost ~]$ dmidecode | grep 'Product Name'    # 以过滤的方式来查看指定的硬件信息
    [root@localhost ~]$ dmidecode --type bios              # 查看BIOS相关的硬件信息
    [root@localhost ~]$ dmidecode --type system            # 查看系统相关的硬件信息
    [root@localhost ~]$ dmidecode --type baseboard         # 查看主板相关的硬件信息
    [root@localhost ~]$ dmidecode --type chassis           # 查看机箱相关的硬件信息
    [root@localhost ~]$ dmidecode --type processor         # 查看处理器相关的硬件信息
    [root@localhost ~]$ dmidecode --type memory            # 查看内存相关的硬件信息
    复制代码
    复制代码
    [root@localhost ~]$ dmidecode -q
    //BIOS相关的硬件信息
    BIOS Information
            Vendor: Bochs
            Version: Bochs
            Release Date: 01/01/2011
            Address: 0xE8000
            Runtime Size: 96 kB
            ROM Size: 64 kB
            Characteristics:
                    BIOS characteristics not supported
                    Targeted content distribution is supported
            BIOS Revision: 1.0
    
    //系统相关的硬件信息
    System Information
            Manufacturer: Bochs                                    # 厂商
            Product Name: Bochs                                    # 服务器型号
            Version: Not Specified                                 # 版本号
            Serial Number: 641ab5b5-f6c0-431f-864c-4e750d27de04    # 主板序列号
            UUID: 641AB5B5-F6C0-431F-864C-4E750D27DE04             # UUID
            Wake-up Type: Power Switch                             
            SKU Number: Not Specified
            Family: Not Specified
    
    //机箱相关的硬件信息
    Chassis Information
            Manufacturer: Bochs
            Type: Other
            Lock: Not Present
            Version: Not Specified
            Serial Number: Not Specified
            Asset Tag: Not Specified
            Boot-up State: Safe
            Power Supply State: Safe
            Thermal State: Safe
            Security Status: Unknown
            OEM Information: 0x00000000
            Height: Unspecified
            Number Of Power Cords: Unspecified
    
    //处理器相关的硬件信息
    Processor Information
            Socket Designation: CPU 1
            Type: Central Processor
            Family: Other
            Manufacturer: Bochs
            ID: F1 06 04 00 FF FB 8B 1F
            Version: Not Specified
            Voltage: Unknown
            External Clock: Unknown
            Max Speed: 2000 MHz
            Current Speed: 2000 MHz
            Status: Populated, Enabled
            Upgrade: Other
    
    //物理内存阵列
    Physical Memory Array
            Location: Other
            Use: System Memory
            Error Correction Type: Multi-bit ECC
            Maximum Capacity: 2 GB
            Number Of Devices: 1
    
    //内存设备
    Memory Device
            Total Width: 64 bits
            Data Width: 64 bits
            Size: 2048 MB
            Form Factor: DIMM
            Set: None
            Locator: DIMM 0
            Bank Locator: Not Specified
            Type: RAM
            Type Detail: None
    
    //内存阵列映射地址
    Memory Array Mapped Address
            Starting Address: 0x00000000000
            Ending Address: 0x0007FFFFFFF
            Range Size: 2 GB
            Partition Width: 1
    
    //内存设备映射地址
    Memory Device Mapped Address
            Starting Address: 0x00000000000
            Ending Address: 0x0007FFFFFFF
            Range Size: 2 GB
            Partition Row Position: 1
    
    //系统引导
    System Boot Information
            Status: No errors detected
    复制代码
  • 相关阅读:
    svn command line tag
    MDbg.exe(.NET Framework 命令行调试程序)
    Microsoft Web Deployment Tool
    sql server CI
    VS 2010 One Click Deployment Issue “Application Validation did not succeed. Unable to continue”
    mshtml
    大厂程序员站错队被架空,只拿着五折工资!苟活和离职,如何选择?
    揭秘!Windows 为什么会蓝屏?微软程序员竟说是这个原因...
    喂!千万别忘了这个C语言知识!(~0 == -1 问题)
    Linux 比 Windows 更好,谁反对?我有13个赞成理由
  • 原文地址:https://www.cnblogs.com/LiuYanYGZ/p/12881762.html
Copyright © 2011-2022 走看看