DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: How to show memory on RS/6000 AIX?

  1. #1
    Join Date
    Apr 2001
    Location
    Congleton
    Posts
    258
    I know this is a unix question but what command to you use to get the memory on a RS/6000 box?
    I have tried lsdev -C |grep memory but it comes back with :

    mem0 Available 00-00 Memory

    I am trying to start up a database on this box and it errors with
    MELD000015: Shared memory get error: key = 100, error no. = 2

    Can anyone please help? Thanks.

  2. #2
    Join Date
    Oct 2001
    Location
    Madrid, Spain
    Posts
    763
    Try with bootinfo -r

    Regards

    Angel

  3. #3
    Join Date
    Apr 2001
    Location
    Congleton
    Posts
    258
    Thanks.
    Now how can I find out how much memory is being used, and how much is free?
    I have vmstat and it says:
    kthr memory page faults cpu
    ----- ----------- ------------------------ ------------ -----------
    r b avm fre re pi po fr sr cy in sy cs us sy id wa
    0 2 12394 9913 0 0 0 0 0 0 207 45 28 0 0 99 0

    what does avm and fre mean? If it means available and Free, this doesn't 'tally' with 128mb on this box and the SGA of the database is 34mb, so we should have enough memory to start up the database.

  4. #4
    Join Date
    Oct 2001
    Location
    Madrid, Spain
    Posts
    763
    You can view more about vmstat making:

    man vmstat (describe the explain report)

    You shall look too the swapping:

    lsps -a

    And you can see the proccesses using memory with:

    psaux | more

    In AIX it is not easy to see the used memory ...

    Hope that will help you

    Angel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width