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: How to determine which application created the OS core file
Viewed 2435 times since Mon, Jun 11, 2018
DISK OPERATION ERROR in AIX
Viewed 14041 times since Thu, Feb 21, 2019
Checking HBA status on AIX
Viewed 18118 times since Fri, Oct 5, 2018
AIX check the HBA status
Viewed 16431 times since Tue, May 22, 2018
AIX snap - Prevent dump collection
Viewed 12254 times since Mon, Sep 17, 2018
AIX Creating a Volume Group
Viewed 2472 times since Tue, Jul 17, 2018
AIX Creating EtherChannel Devices from Command Line
Viewed 3459 times since Mon, Jun 3, 2019
Customizing a NIM Client Restore With a Post-Install Script
Viewed 10944 times since Wed, May 30, 2018
Using AIX VG mirroring in combination with hardware snapshots
Viewed 4989 times since Sat, May 25, 2019
Working with Virtual media library on VIO servers
Viewed 15135 times since Thu, Feb 21, 2019