dmidecode获取硬件信息

dmidecode:获取BIOS、主板、内存、CPU、设备序列号等硬件信息的命令行工具

  1. 查看bios信息:dmidecode -t 0或 -t bios
  2. 查看主板信息:dmidecode -t 2或-t baseboard
  3. 查看CPU的信息:dmidecode -t 4或-t processor
  4. 查看内存的详细信息:dmidecode -t 17或-t memory

Valid type keywords are:

  • bios
  • system(没啥有用信息)
  • baseboard(主板信息)
  • chassis(没啥有用信息)
  • processor(处理器信息)
  • memory(内存信息)
  • cache
  • connector(USB、HDMI等连接器信息)
  • slot(PCIe插槽信息)
posted @ 2025-06-04 14:40  Fēngwèi  阅读(97)  评论(0)    收藏  举报