Linux under dmidecode view the number of memory sticks in the command introduction

  • 2020-05-13 04:17:52
  • OfStack

There are many commands under linux that allow you to view the hardware information of the machine.

Here is a method to view information such as the number of bars in memory.

Hardware information, only suitable for ubuntu series distribution:


lshw

Check the number of memory sticks under Linux:

dmidecode |grep -A16 "Memory Device$"

For a more detailed use of the dmidecode command, see this article: linux's command dmidecode to view motherboard memory slots and memory information.


Related articles: