Skip to content

Instantly share code, notes, and snippets.

@bafflingscience
Created November 8, 2019 03:21
Show Gist options
  • Save bafflingscience/2ae43f4bc0772720cc095cfe28e91dfb to your computer and use it in GitHub Desktop.
Save bafflingscience/2ae43f4bc0772720cc095cfe28e91dfb to your computer and use it in GitHub Desktop.
Terminal commands to view hardware details on a Debian Linux operating system.

Quickly View Memory Details to upgrade RAM

Use lshw to View a Graphical Interface with of your System's Components

sudo lshw -X

For a less detailed view, just skip the sudo

Install dmidecode:

$ sudo apt install dmidecode

View a summary memory details:

$ sudo dmidecode -t memory

View maximum supported RAM by your system?

$ sudo dmidecode -t 16

Check the currently installed RAM size:

$ sudo dmidecode -t 17

View complete System Hardware details:

$sudo dmidecode

Dmidecode info acquired from here: https://www.ostechnix.com/how-to-find-out-maximum-supported-ram-in-linux/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment