Skip to content

Instantly share code, notes, and snippets.

@clamytoe
Created September 13, 2017 12:27
Show Gist options
  • Save clamytoe/398fbb466b4ca8d1e81e4d1ab179b7c9 to your computer and use it in GitHub Desktop.
Save clamytoe/398fbb466b4ca8d1e81e4d1ab179b7c9 to your computer and use it in GitHub Desktop.
One liner script to display the memory module(s) information of your system.
#!/bin/bash
sudo dmidecode | awk '/^Memory\ Device$/,/Size/{if ($0~/Size/)print}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment