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
Creating Normal,Big,Scalable VG on AIX
Viewed 14051 times since Fri, Feb 1, 2019
Recovery AIX system when hang on boot (554 code error).
Viewed 15218 times since Thu, Feb 21, 2019
How to deal with performance monitoring in AIX ?
Viewed 7540 times since Fri, May 25, 2018
AIX, System Admin Configuring dsh DSH
Viewed 3647 times since Fri, Apr 19, 2019
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 40278 times since Thu, Jun 21, 2018
Rootvg Mirroring in AIX
Viewed 2383 times since Mon, May 21, 2018
AIX NTP Client configuration
Viewed 11478 times since Tue, Jul 17, 2018
Mirroring the rootvg Volume Group for AIX
Viewed 3675 times since Mon, May 21, 2018
A tcpdump Tutorial and Primer with Examples
Viewed 4589 times since Sun, Jun 17, 2018
IBM AIX MPIO: Best practices and considerations
Viewed 10652 times since Wed, May 30, 2018