Pages

Thursday, September 27, 2012

Getting used memory slots in AIX

Today a customer wanted to know if he could expand his memory in one of his IBM PPC machines. Of course the customer didn't know anything (machine type, memory size etc.) so I took a look. The first thing I needed to know was the machine type:

# prtconf | head -1
System Model: IBM,9131-52A


According to the Redbook of this machine it has eight memory slots available. The next thing I wanted to know was the memory size itself:

# prtconf -m
Memory Size: 7936 MB


The last thing I needed to know was the number of used memory slots:

# lscfg -vp | grep Size
        Size........................1024
        Size........................1024
        Size........................1024
        Size........................1024
        Size........................1024
        Size........................1024
        Size........................1024
        Size........................1024
# lscfg -vp | grep Size | wc -l
       8


The above output shows clearly 8x1024MB memory modules. In this case the customer has to replace his memory since all memory slots are in use.

Links:
http://www.redbooks.ibm.com/redpapers/pdfs/redp4137.pdf