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
AIX, Monitoring, System Admin↑ NMON recordings
Viewed 2932 times since Fri, Apr 19, 2019
10 AIX Commands to Add to Your Toolbox
Viewed 4245 times since Sat, May 19, 2018
AIX lsdevinfo
Viewed 10212 times since Mon, Jun 3, 2019
AIX: How do you send an attachment via mail
Viewed 2774 times since Mon, Jun 11, 2018
AIX: How to manage network tuning parameters
Viewed 3698 times since Mon, Jun 11, 2018
Using AIX VG mirroring in combination with hardware snapshots
Viewed 4926 times since Sat, May 25, 2019
AIX disk queue depth tuning for performance
Viewed 15167 times since Thu, Jan 16, 2020
Backup and Restore With AIX
Viewed 4336 times since Sat, May 19, 2018
Create jfs2 logical volume on AIX
Viewed 4664 times since Thu, Feb 21, 2019
AIX NTP Client configuration
Viewed 11857 times since Tue, Jul 17, 2018