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
LVM: Display basic information about Physical Volumes, Volume Groups and Logical Volumes
Viewed 2893 times since Sun, Jun 3, 2018
AIX, Monitoring, System Admin↑ NMON recordings
Viewed 2968 times since Fri, Apr 19, 2019
SSH-COPY-ID on AIX. SSH remote AIX’s box without password
Viewed 16750 times since Thu, Feb 21, 2019
AIX: How to set automatic logoff (only for terminals)
Viewed 3034 times since Mon, Jun 11, 2018
Part 1, The basics of network troubleshooting
Viewed 5202 times since Tue, May 22, 2018
Troubleshooting Starts With Understanding Your Physical Disks’ Attributes
Viewed 3737 times since Sat, May 19, 2018
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 11331 times since Thu, Feb 21, 2019
Backup and Restore With AIX
Viewed 4397 times since Sat, May 19, 2018
Calculate hdisk READ / WRITE throughput (sequential IO) from AIX systems
Viewed 2622 times since Thu, Feb 21, 2019
10 AIX Commands to Add to Your Toolbox
Viewed 4297 times since Sat, May 19, 2018