Friday, 7 June 2013

How to check allocated memory size in AIX ?

Finding AIX Memory Allocation:

There are  many ways to find allocated  memory in  AIX server.
Here are few best example commands.
root@unixmantra:/ #prtconf -m
Memory Size: 512 MB
root@unixmantra:/ #
root@unixmantra:/ #lsattr -El sys0 -a realmem
realmem 524288 Amount of usable physical memory in Kbytes False
root@unixmantra:/ #
root@unixmantra:/ #lparstat -i | grep -i "Online Memory"
Online Memory                              : 512 MB
root@unixmantra:/ #
The bootinfo command uses the device configuration databases in information searches.
Just type the following command as the root user:
bootinfo -r

svmon command - Captures and analyzes a snapshot of virtual memory

The svmon command displays information about the current state of memory. The displayed information does not constitute a true snapshot of memory, because the svmon command runs at user level with interrupts enabled. To print out global statistics, type:
# svmon -G Read the man page of svmon for more information.

1 comment:

  1. prtconf -m

    is the best command to check memory