Check RAM Slot occupancy in Linux (BASH)
When ordering new RAM, you tend to want to know if there are any free slots, as well as what you've already got installed
Having to remove the cover to check isn't particularly convenient though. This snippet details how to check from Linux
Details
- Language: BASH
Snippet
sudo dmidecode -t memory
# or, with lshw
sudo lshw -class memory