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.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 7 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
7 comments… add one
  • sankar Feb 9, 2010 @ 9:40

    desktop pc ram speed notpad command please requaested how

  • Eniola Apr 25, 2012 @ 10:27

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

  • Raghu Feb 19, 2013 @ 5:23

    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 Jul 12, 2013 @ 8:01

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

    svmon -G -O unit=MB

  • naveen Oct 16, 2013 @ 18:13

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

  • gl Jul 21, 2014 @ 14:00


    [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 Oct 20, 2015 @ 6:57

      Thanks gl, its a very useful command.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum