Check Free Memory Slots Linux

Check Free Memory Slots Linux Rating: 5,9/10 1372 reviews

Here’s a useful way of finding out how many memory slots are occupied on the motherboard of a machine without removing the cover, as well as how much installed physical memory is supported.

There are plenty of ways you can get the lowdown on memory usage within your Linux system. In this roundup, we’ll cover the most commonly used command-line methods: free, vmstat, and top. We’ll also look at reading /proc/meminfo directly. Check Free Memory Slots Linux Also, you should note that there is a search function which you can use to locate specific Check Free Memory Slots Linux games. Some notable roulette games which you can play Check Free Memory Slots Linux on the platform are Lightning Roulette, Immersive Roulette, Auto Roulette, and Speed Roulette Live.

We can use the dmidecode command to reveal your systems DMI table, which contains details of the systems hardware.

Free

@azorius (and probably unimplemented) means the bios/chipset can handle 4 slots, but the board manufacturer decided not to include 2 of the possible slots the bios can support in the physical realm that is the actual MB.

Check free memory slots linux downloads

There are a whole load of DMI types we can look at – a full table of those at the end of this article.

In this particular case, we are interested in memory – type 16 ‘Physical Memory Array’ will show us how much memory is supported and DMI type 17 will reveal details of currently installed memory.

So, first off:-

dmidecode -t 16

Maximum Capacity shows us the maximum amount of memory can be installed in the machine. Number of devices tells us how many slots there are on the motherboard – in this case, 8.

Now we can interrogotate DMI type 17 – ‘Memory Device’ to show us details of installed memory

dmidecode -t 17

Each module installed will be listed with the the information given above. If we just want to know how many modules are installed and what size they are, we only really need the Size: – so we use grep

dmidecode -t 17 grep Size

From this we can see that 8x 2048MB modules are installed – so all the slots on the motherboard are populated.

There is plenty of other useful information that can be retrieved using dmidecode, including

-t1 System

-t2 Base Board

-t3 Chassis

Check Free Memory Slots Linux Mint

-t4 CPU

-t9 PCI slots

Full SMIBIOS Specification

1 System
2 Base Board
3 Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13 BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security
25 System Power Controls
26 Voltage Probe
27 Cooling Device
28 Temperature Probe
29 Electrical Current Probe
30 Out-of-band Remote Access
31 Boot Integrity Services
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply
40 Additional Information
41 Onboard Device

Check Free Memory Slots Linux

Some time back I was using a command called meminfo in Solaris to find the memory information in Solaris. It is indeed a nice script written by schmidt http://www.4schmidts.com/memconf.html .

Check Free Memory Slots Linux

Later, I moved my role from supporting Solaris systems to Linux systems and I was struggling to get the same piece of info in Linux about the memory bank/slot and how memory is present in each memory bank. Today I got an audit work to validate the system data that someone has filled about Linux servers. So, this time I couldn’t escape and I had to find a way out. I always knew that there should be info in dmidecode command, but as usual my laziness was stopping me from looking in to the output.

So finally I had to push my lazy attitude and dive in to the Info which dmidecode was giving. I was really surprised to see that there is enough info that we can grab from the dmidecode output. So here is my analysis.

  • First check the actual memory Info from the either “top” or “free -m” command.
  • Check the “dmidecode” output for the DIMM slot and each RAM size

FREE COMMAND OUTPUT

So the below command shows that we have around 2GB of memory installed in the system.

[root@bravo]# free -m
total used free shared buffers cached
Mem: 2026 1585 440 0 222 551
-/+ buffers/cache: 811 1215
Swap: 4094 0 4094

Check Free Memory Slots Linux Software

TOP COMMAND OUTPUT

Let’s verify our understanding of memory available using the TOP command which also shows that we have approx 2GB memory approx.

Memory

[root@bravo]# top

Check Free Memory Slots Linux Download

top – 13:18:56 up 216 days, 4:12, 3 users, load average: 0.14, 0.11, 0.09
Tasks: 199 total, 1 running, 198 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8% us, 1.4% sy, 0.0% ni, 97.4% id, 0.3% wa, 0.0% hi, 0.0% si
Mem: 2074900k total, 1623648k used, 451252k free, 227816k buffers
Swap: 4192924k total, 296k used, 4192628k free, 565160k cached

DMIDECODE COMMAND

Run the DMIDECODE command and look for the data where the word “Physical Memory Array” starts and go through each line to get detailed information. In some new systems you can also use the command dmidecode –s memory and dmidecode –t 17 , where “s” means string and “t” means type. Let’s just use dmidecode here for now.

Summary of the memory data

——————————————————————————————-

Maximum memory that the ON BOARD memoryslots can accept is= 8GB

Type of memory = DDR

Check Free Memory Slots Linux Downloads

Error Correction Type: Single-bit ECC

Size of each DIMM = 1024 MB (1GB)

DIMM Speed = 333 MHz (3.0 ns)

Downloads

Number of DIMM slots = Total4 DIMM slots and only 2 DIMM slots are filled with 1GB memory each

Note: where ever the Memory module is not installed the “Size” would show as “Size: No Module Installed”

——————————————————————————————-

[root@bravo]# dmidecode more

So here is the summary of the Info that we are looking from the Important Information we have from the dmidecode data

Handle 0x1000
DMI type 16, 15 bytes.
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Single-bit ECC
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 4

Handle 0x1100
DMI type 17, 23 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM

Set: 1
Locator: DIMM 01
Bank Locator: Not Specified
Type: DDR
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)
Handle 0x1101
DMI type 17, 23 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Set: 1
Locator: DIMM 02
Bank Locator: Not Specified
Type: DDR
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)

Handle 0x1102
DMI type 17, 23 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: DIMM
Set: 2
Locator: DIMM 03
Bank Locator: Not Specified
Type: DDR
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)

Handle 0x1103
DMI type 17, 23 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: DIMM
Set: 2
Locator: DIMM 04
Bank Locator: Not Specified
Type: DDR
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)

So here is my learning for the day. So I am signing of for the day looking forward to learn something new tomorrow. Infact there are couple of things that I have learnt today and I would try to either share it today or tomorrow in my new post.

Also, one thing that I started believing these days is that there is no job which is small or waste of time. We just have to look at the learning that we can grab from it. I am sure every job teaches us something might not be technical always but I am sure we would have some thing to learn from it directly or in directly.

Adios ! Amigos !

The desire to write grows with writing.Desiderius Erasmus