AIX - How to get Memory infomation

AIX - How to get Memory infomation

 
Question : How to check memory size allocated to an AIX box if it is a lpar?
Answer : lparstat command with option "i" can be used.
Example :
root@server # lparstat -i |grep -i memory
Online Memory : 320 MB
Maximum Memory : 1536 MB
Minimum Memory : 288 MB
Desired Memory : 320 MB


Question : How to check memory size configured on an AIX machine?
Answer : Command prtconf can be used to display it's system configuration information. Option "m" to display memory information.
Example :
root@server # prtconf -m
Memory Size: 320 MB


Question : How to check current usage of memory in AIX?
Answer : svmon command can be used to display current usage of memory.
Example :
root@server # svmon -G
size inuse free pin virtual
memory 81920 78726 3194 53486 138389
pg space 262144 59616

work pers clnt other
pin 45132 0 0 8354
in use 75732 5 2989

PageSize PoolSize inuse pgsp pin virtual
s 4 KB - 53078 48784 43086 96613
m 64 KB - 1603 677 650 2611
Note : You need to calculate the memory size by multiplying memory size output with 4kb.

Question : How to check memory stick [DIMM] configured on an AIX machine?
Answer : lscfg command with option "vp" can be used to display configuration on an AIX machine.
Example :
root@server # lscfg -vp |grep -p "DIMM"
Memory DIMM:
Record Name.................VINI
Flag Field..................XXMS
Hardware Location Code......U788C.001.AAA6522-P1-C5
Customer Card ID Number.....312B
Serial Number...............YH10BK66W0ZK
Part Number.................12R8255
FRU Number.................. 12R8255
Size........................1024
Version.....................RS6K
Physical Location: U788C.001.AAA6522-P1-C5


Question : How to get the number of memory stick [DIMM] installed on an AIX machine?
Answer : Use lscfg command with option "vp" and grep keyword "DIMM" followed by command "wc -l".
Example :
root@server # lscfg -vp |grep "DIMM" | wc -l


Question : How to get the size of memory stick [DIMM] installed on an AIX machine?
Answer : Use lscfg command with option "vp" and couple with grep command.
Example : Values are in MB.
root@server # lscfg -vp |grep -p "DIMM" | grep -i size
Size........................1024
Size........................1024
Note : Values are in MB.
5 (1)
Article Rating (1 Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
https://www.ibm.com/developerworks/learn/aix/index.html
Viewed 11334 times since Wed, May 30, 2018
AIX NFS Version 4 configuration over Kerberos inter-realm setup
Viewed 4116 times since Wed, Jun 27, 2018
AIX lspath Missing path
Viewed 10063 times since Fri, Oct 5, 2018
How to install filesets/software in aix?
Viewed 6095 times since Mon, Jul 8, 2019
0516-404 allocp: This system cannot fulfill the allocation request. [AIX]
Viewed 5349 times since Thu, Sep 20, 2018
Installing a Interim Fix (APAR IV16587)
Viewed 3080 times since Tue, Jul 17, 2018
Part 1, Memory overview and tuning memory parameters AIX7
Viewed 4352 times since Wed, Jun 19, 2019
AIX www web Links
Viewed 3407 times since Fri, Apr 19, 2019
AIX POWERHA/HACMP: Basic commands
Viewed 5481 times since Sat, Jun 2, 2018
AIX hangs on boot? How to debug boot process on AIX systems
Viewed 11470 times since Thu, Feb 21, 2019