AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  How to calculate Memory Utilization in an AIX box??

    Posted Mon June 05, 2006 10:17 AM

    Originally posted by: SystemAdmin


    Hi gurus,
    Am a newbie to AIX...Was trying to calculte Memory utilization(in %) of an AIX box by commands...svmon works well when logged in as Super User..But am trying to find it as an normal user.Please help me out

    Best Regards
    Muthukumaran.M
    #AIX-Forum


  • 2.  Re: How to calculate Memory Utilization in an AIX box??

    Posted Mon June 05, 2006 12:09 PM

    Originally posted by: SystemAdmin


    Dunno if this is taboo, but I normally set the sticky bit on the svmon to allow others to run it..

    chmod 4500 /usr/bin/svmon
    #AIX-Forum


  • 3.  Re: How to calculate Memory Utilization in an AIX box??

    Posted Tue June 06, 2006 02:48 PM

    Originally posted by: niella


    A reasonably safe approach would be to use sudo. Use visudo to add the following line to /etc/sudoers:
    myusername ALL=(ALL) NOPASSWD:/usr/bin/svmon *

    Regards,
    Niel
    #AIX-Forum


  • 4.  Re: How to calculate Memory Utilization in an AIX box??

    Posted Wed June 07, 2006 01:51 AM

    Originally posted by: SystemAdmin


    Thanks for ur efforts...But unfortunately none of them worked for me.I am not too particular about using svmon.Any command that will work for a normal user is fine with me. I just used svmon coz I read in an article that it will do the needfull.But in my office svmon is accessible by Superusers only...Any help??

    Thanks and Regards
    Muthukumaran.M
    #AIX-Forum


  • 5.  Re: How to calculate Memory Utilization in an AIX box??

    Posted Wed June 14, 2006 05:38 PM

    Originally posted by: SystemAdmin


    Try vmstat or ps -A -o vsz,pmem,com
    #AIX-Forum


  • 6.  Re: How to calculate Memory Utilization in an AIX box??

    Posted Thu June 15, 2006 08:09 AM

    Originally posted by: SystemAdmin


    If you want to estimate the memory utilization of the system as a whole (as opposed to that of one or more processes) you've set yourself a difficult task. AIX is unlike other Unices in how it utilizes memory. Specifically it tries to fill up all the available physical memory with something all the time. So, if you look at the system with vmstat, topas, nmon or whatever you'll most likely see memory % utilization at or near 100% all the time. This is because after all the working set pages are allocated AIX fills up the rest with file pages, a.k.a. non-computational pages. So, if you're trying to figure out whether memory is over-committed your best bet is to look at the "paging space paging" numbers. These are the ones shown as PI and PO on vmstat output. If memory is undercommitted these numbers should be zero, or nearly zero, all the time. If you see numbers higher than low single digits steadily over time, then you're low on memory.

    HTH

    Jim Lane
    #AIX-Forum