≡ Menu

Howto find out AIX UNIX RAM size memory from command line

Q. How do I find out the memory size of my AIX UNIX server? Can you tell us the command name to do the same?

A. You need to use bootinfo command to determines and displays various boot information, including boot device type and boot device name.

Command to check RAM in AIX UNIX

The bootinfo command uses the device configuration databases in information searches.

Just type the following command as the root user:
bootinfo -r

It will displays amount of real memory in kilobytes. bootinfo command may not be available in latest AIX UNIX version, try following command:
$ lsattr -El sys0 | grep realmem

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.

Share this tutorial on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:

{ 7 comments… add one }
  • sankar February 9, 2010, 9:40 am

    desktop pc ram speed notpad command please requaested how

  • Eniola April 25, 2012, 10:27 am

    how do i go about getting the command on sun solaris.

  • Raghu February 19, 2013, 5:23 am

    Dear AIX Expects,

    I want to configure ramusage in nagios for aix machine can you any suggest me how ?

    Pls revert on high priority


  • Bharat July 12, 2013, 8:01 am

    to get the memory in specific units like GB, MB or KB use.

    svmon -G -O unit=MB

  • naveen October 16, 2013, 6:13 pm

    what is the command to find RAM & HD size on UNIX?

  • gl July 21, 2014, 2:00 pm


    [oracle@webpaycl1:servcl]/home/oracle> amepat
    WARNING: Running in no modeling mode.

    Command Invoked : amepat

    Date/Time of invocation : Mon Jul 21 09:57:23 CLT 2014
    Total Monitored time : NA
    Total Samples Collected : NA

    System Configuration:
    Partition Name : webpaycl1
    Processor Implementation Mode : POWER7 Mode
    Number Of Logical CPUs : 32
    Processor Entitled Capacity : 2.00
    Processor Max. Capacity : 8.00
    True Memory : 32.25 GB
    SMT Threads : 4
    Shared Processor Mode : Enabled-Uncapped
    Active Memory Sharing : Disabled
    Active Memory Expansion : Disabled

    System Resource Statistics: Current
    ————————— —————-
    CPU Util (Phys. Processors) 0.02 [ 0%]
    Virtual Memory Size (MB) 12037 [ 36%]
    True Memory In-Use (MB) 32140 [ 97%]
    Pinned Memory (MB) 5707 [ 17%]
    File Cache Size (MB) 19983 [ 61%]
    Available Memory (MB) 19869 [ 60%]

    • Rupesh October 20, 2015, 6:57 am

      Thanks gl, its a very useful command.

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: , , , , , , , , , , , , , , ,