dmidecode可以查看服务器硬件的详细配置,下面是DMI的类型:

语法格式:

DB01:~ # dmidecode --helpUsage: dmidecode [OPTIONS]Options are:-d, --dev-mem FILE     Read memory from device FILE (default: /dev/mem)-h, --help             Display this help text and exit-q, --quiet            Less verbose output-s, --string KEYWORD   Only display the value of the given DMI string-t, --type TYPE        Only display the entries of given type-u, --dump             Do not decode the entries-V, --version          Display the version and exit

查看DMI的类型:

DMI TYPESThe SMBIOS specification defines the following DMI types:Type   Information----------------------------------------0   BIOS1   System2   Base Board3   Chassis4   Processor5   Memory Controller6   Memory Module7   Cache8   Port Connector9   System Slots10   On Board Devices11   OEM Strings12   System Configuration Options13   BIOS Language14   Group Associations15   System Event Log16   Physical Memory Array17   Memory Device18   32-bit Memory Error19   Memory Array Mapped Address20   Memory Device Mapped Address21   Built-in Pointing Device22   Portable Battery23   System Reset24   Hardware Security25   System Power Controls26   Voltage Probe27   Cooling Device28   Temperature Probe29   Electrical Current Probe30   Out-of-band Remote Access31   Boot Integrity Services32   System Boot33   64-bit Memory Error34   Management Device35   Management Device Component36   Management Device Threshold Data37   Memory Channel38   IPMI Device39   Power Supply

查看BIOS信息:

DB01:~ # dmidecode -t
dmidecode: option requires an argument -- 't'
Type number or keyword expected
Valid type keywords are:biossystembaseboardchassisprocessormemorycacheconnectorslot
DB01:~ # dmidecode -t bios
# dmidecode 2.9
SMBIOS 2.5 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS InformationVendor: HPVersion: A15Release Date: 05/02/2011Address: 0xF0000Runtime Size: 64 kBROM Size: 4096 kBCharacteristics:PCI is supportedPNP is supportedBIOS is upgradeableBIOS shadowing is allowedESCD support is availableBoot from CD is supportedSelectable boot is supportedEDD is supported5.25"/360 KB floppy services are supported (int 13h)5.25"/1.2 MB floppy services are supported (int 13h)3.5"/720 KB floppy services are supported (int 13h)Print screen service is supported (int 5h)8042 keyboard services are supported (int 9h)Serial services are supported (int 14h)Printer services are supported (int 17h)CGA/mono video services are supported (int 10h)ACPI is supportedUSB legacy is supportedBIOS boot specification is supportedFunction key-initiated network boot is supportedTargeted content distribution is supported

查看系统信息:

DB01:~ # dmidecode -t system
# dmidecode 2.9
SMBIOS 2.5 present.
Handle 0x0100, DMI type 1, 27 bytes
System InformationManufacturer: HPProduct Name: ProLiant DL785 G5   Version: Not SpecifiedSerial Number: SGH030XF4X      UUID: 414D3432-3341-5347-4830-333058463458Wake-up Type: Power SwitchSKU Number: AM423A          Family: ProLiant
Handle 0x2000, DMI type 32, 11 bytes
System Boot InformationStatus: No errors detected

查看CPU的信息:

DYDMSDB01:~ # dmidecode -t processor
# dmidecode 2.9
SMBIOS 2.5 present.
Handle 0x0400, DMI type 4, 40 bytes
Processor InformationSocket Designation: Proc 1Type: Central ProcessorFamily: OpteronManufacturer: AMDID: 42 0F 10 00 FF FB 8B 17Signature: Family 16, Model 4, Stepping 2Flags: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)MMX (MMX technology supported)FXSR (Fast floating-point save and restore)SSE (Streaming SIMD extensions)SSE2 (Streaming SIMD extensions 2)HTT (Hyper-threading technology)Version: Not SpecifiedVoltage: 1.4 VExternal Clock: UnknownMax Speed: 3000 MHzCurrent Speed: 2500 MHzStatus: Populated, EnabledUpgrade: OtherL1 Cache Handle: 0x0710L2 Cache Handle: 0x0720L3 Cache Handle: 0x0730Serial Number: Not SpecifiedAsset Tag: Not SpecifiedPart Number: Not SpecifiedCore Count: 4Core Enabled: 4Thread Count: 4Characteristics:64-bit capable
Handle 0x0401, DMI type 4, 40 bytes
Processor InformationSocket Designation: Proc 2Type: Central ProcessorFamily: OpteronManufacturer: AMDID: 42 0F 10 00 FF FB 8B 17Signature: Family 16, Model 4, Stepping 2Flags: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)MMX (MMX technology supported)FXSR (Fast floating-point save and restore)SSE (Streaming SIMD extensions)SSE2 (Streaming SIMD extensions 2)HTT (Hyper-threading technology)Version: Not SpecifiedVoltage: 1.4 VExternal Clock: UnknownMax Speed: 3000 MHzCurrent Speed: 2500 MHzStatus: Populated, IdleUpgrade: OtherL1 Cache Handle: 0x0711L2 Cache Handle: 0x0721L3 Cache Handle: 0x0731Serial Number: Not SpecifiedAsset Tag: Not SpecifiedPart Number: Not SpecifiedCore Count: 4Core Enabled: 4Thread Count: 4Characteristics:64-bit capable

查看物理内存的信息:

DB01:~ # dmidecode -t 16
# dmidecode 2.9
SMBIOS 2.5 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS InformationVendor: HPVersion: A15Release Date: 05/02/2011Address: 0xF0000Runtime Size: 64 kBROM Size: 4096 kBCharacteristics:PCI is supportedPNP is supportedBIOS is upgradeableBIOS shadowing is allowedESCD support is availableBoot from CD is supportedSelectable boot is supportedEDD is supported5.25"/360 KB floppy services are supported (int 13h)5.25"/1.2 MB floppy services are supported (int 13h)3.5"/720 KB floppy services are supported (int 13h)Print screen service is supported (int 5h)8042 keyboard services are supported (int 9h)Serial services are supported (int 14h)Printer services are supported (int 17h)CGA/mono video services are supported (int 10h)ACPI is supportedUSB legacy is supportedBIOS boot specification is supportedFunction key-initiated network boot is supportedTargeted content distribution is supported

其它硬件信息,也可以类似查看。这个命令结合dmesg去查看,收集的信息会比较全

转载于:https://blog.51cto.com/molewan/1674982

Linux下使用dmidecode查看服务器的详细的硬件配置相关推荐

  1. 使命召唤linux服务器,Linux下使用dmidecode查看服务器的详细的硬件配置

    dmidecode可以查看服务器硬件的详细配置,下面是DMI的类型: 语法格式:DB01:~ # dmidecode --help Usage: dmidecode [OPTIONS] Options ...

  2. linux 网络端口状态,Linux下用netstat查看网络状态、端口状态(转)

    转:http://blog.csdn.net/guodongdongnumber1/article/details/11383019 在linux一般使用netstat 来查看系统端口使用情况步. n ...

  3. Linux下实用的查看内存和多核CPU状态命令

    Linux下实用的查看内存和多核CPU状态命令 ]作者:zale0_0 来源:博客园 发布时间:2012-02-08 14:49 阅读:12 次 原文链接 [收藏] 查看多核CPU命令 mpstat ...

  4. 【dubbo-2.5.x】Linux下dubbo-admin监控/管理平台部署详细教程

    前言 Dubbo-Admin是Dubbo控制台管理的工具,是Dubbo组件之一,需要Dubbo-Admin管理平台来实时对服务调用情况进行调整,比如控制分布式服务的调用权重等,通过调整调整调用权重来控 ...

  5. linux命令查看cpu序列号,Linux下用命令查看CPU ID以及厂家等信息

    Linux下用命令查看CPU ID // 获得CPU ID dmidecode -t 4 | grep ID |sort -u |awk -F': ' '{print $2}' // 获得磁盘ID f ...

  6. Linux查看WAS的jvm信息,linux 下使用命令查看jvm信息

    java程序员除了编写业务代码之外,特别是项目上线之后,更需要关注的是系统的性能表现,这个时候就需要了解一下jvm的性能表现了,可以借助于java虚拟机自带的一些分析工具,主要有三个常用的命令. 1. ...

  7. Linux下简单的邮件服务器搭建

    Linux下简单的邮件服务器搭建 电子邮件服务简介 电子邮件是因特网上最为流行的应用之一,而邮件服务器是一种用来负责电子邮件收发管理的设备,它构成了电子邮件系统的核心. 电子邮件系统的组成  MUA( ...

  8. linux 进程 状态 ri,LINUX下解决netstat查看TIME_WAIT状态过多问题(转)

    # netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c 16 CLOSING 130 ESTABLISHED 298 FIN_WAIT1 13 FIN_WA ...

  9. Linux下mysql数据库从服务器A只迁移DATA文件夹到服务器B

    Linux下mysql数据库从服务器A只迁移DATA文件夹到服务器B 操作流程 获取数据 迁移数据 运行新的数据库 后记 操作流程 前言:近期做了一个项目,由于mysql数据库中的数据比较庞大,考虑转 ...

最新文章

  1. Hadoop学习笔记—7.计数器与自定义计数器
  2. 网络宣传推广浅谈关键词排名好却没有流量的原因解决方法!
  3. 成功解决 AttributeError: module ‘keras.engine.topology‘ has no attribute ‘load_weights_from_hdf5_group_b
  4. 最强markdown编辑器typora图床教程-七牛版
  5. 配置DATAGUARD 时关于 LOG_FILE_NAME_CONVERT配置错误的解决
  6. appium--每次启动会重新安装的问题(没试过)
  7. c 调用openoffice word转pdf_批量 Word 转 PDF 方法
  8. mysql 查看锁_别吵吵,分布式锁也是锁
  9. 华北科技学院计算机科学与技术分数线,2019年华北科技学院优势专业排名及分数线...
  10. 6-14 Inspector s Dilemma uva12118(欧拉道路)
  11. HardSoft-Viewer SQL
  12. 台媒体:IBM PC将成特洛伊木马【ZZ】【另一个角度】
  13. beanshell断言_Jmeter之BeanShell断言使用(示例代码)
  14. java小球与小球碰撞_Java实现小球间的弹性碰撞(考虑小球质量)
  15. 【2021年度总结】旧年的喜怒哀乐和新年的虎啸龙腾
  16. PS生成动态的二维码
  17. 输入框内只能输入数字,输入其他内容不显示
  18. 摄像头对物体进行跟踪kcf算法
  19. sed命令详解与示例
  20. Cisco 4507交换机更换备用引擎操作手册

热门文章

  1. JDK里常见容器总结
  2. 解释器模式(interpreter)解析例子
  3. 并发之AtomicIntegerArray
  4. Django REST framework API 指南(2):响应
  5. MySQL之帮助的使用
  6. Sicily 1153: 马的周游问题(DFS+剪枝)
  7. ns-3 NetAnim遇到了一个问题
  8. 图像增强之拉普拉斯锐化---高斯一阶导二阶导数
  9. linux中的while命令
  10. 陶哲轩实分析 例 1.2.12 洛必达法则使用注意事项