Linux tools - lshw, lspci, dmidecode, inxi (How to check server components?).

| F.A.Q.

Linux tools - lshw, lspci, dmidecode, inxi (How to check server components?).

Basic tools to check the components installed in the server. In addition to the model, these tools often also display the serial numbers of the components. This data is necessary to perform an inventory, apply a label or submit an RMA without shutting down the server and/or opening the server cover.

General:

  • lshw
  • lspci
  • hwinfo
  • inxi (Recommended script, it shows information in a very clear way)

Server/enclosure/supply information:

  1. Information about the system:
    • dmidecode -t 1
  2. Information about the system:
    • dmidecode -t 3
  3. Information about the system:
    • dmidecode -t 39

Informacje o płycie głównej / MBD:

  1. About BIOS:
    • dmidecode -t 0
  2. About Motherboard:
    • dmidecode -t 2
  3. About IPMI:
    • dmidecode -t 38
    • dmidecode - t 42
  4. Information about the devices integrated on the board:
    • dmidecode - t 41

Processor information / CPU

  1. Information about the installed processor and supported instructions::
    • dmidecode -t 4
  2. Information about the installed processor and supported instructions:
    • cat /proc/cpuinfo

RAM / MEM information

  1. Information about memory banks and installed modules::
    • dmidecode -t 17
  2. Information about the amount of installed memory:
    • cat /proc/meminfo

Informacje o dyskach HDD / SSD / NVMe

  1. Information about the drives HDD/SSD:
    • smartctl -a /dev/sda
  2. Information about the drives NVMe:
    • smartctl -a /dev/nvm0
  3. Information about the drives NVMe:
    • nvme list
  4. Information about block devices:
    • lsblk

Information about USB devices

  1. Information about detected USB devices:
    • lsusb

Related Pages:

  1. Wireshark (Network traffic analysis)
  2. Tcpdump tool (Network traffic tracking)
  3. Bad sector removal (hdparm) - How to remove bad sectors?
  4. What is FRU (Field Replaceable Unit)?
  5. How to Disable CPU Cores in Linux (How to limit power consumption server)