total system memory
DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: total system memory

  1. #1
    Join Date
    Jan 2001
    Posts
    157
    Is there a way to find out the total memory that a unix system has? I mean total memory that a system running oracle has.

  2. #2
    Join Date
    Apr 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    1,203
    Do a top command at the unix prompt

    > top

    Memory: 2048M real,

    Tells you how much RAM you have on your system.

    Cheers
    OCP 8i, 9i DBA
    Brisbane Australia

  3. #3
    Join Date
    Apr 2001
    Location
    London
    Posts
    725
    you can also check how much memmory is available using :

    #sar -r

    #man sar
    will give you help pages on this.

    man -k will give you related commands to a subject of your choice. e.g. man -k memmory.

    Suresh

    Once you have eliminated all of the impossible,
    whatever remains however improbable,
    must be true.

  4. #4
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    Originally posted by grjohnson
    Do a top command at the unix prompt

    > top

    TOP is not installed by default in Solaris for example.


  5. #5
    Join Date
    Sep 2001
    Posts
    62
    You can also try

    prtcnf|grep mem


  6. #6
    Join Date
    Sep 2001
    Posts
    62
    Sorry that should be

    prtconf|grep mem

    never could use a keyboard

  7. #7
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    Originally posted by sazzadur
    Sorry that should be

    prtconf|grep mem

    never could use a keyboard
    I am afraid PRTCONF does not work in Solaris. It works in HP and Linux.


  8. #8
    Join Date
    Apr 2001
    Location
    Czechia
    Posts
    712

    Talking

    Originally posted by sazzadur
    Sorry that should be

    prtconf|grep mem

    never could use a keyboard
    That should be

    prtconf|grep -i mem

    Originally posted by julian

    I am afraid PRTCONF does not work in Solaris. It works in HP and Linux.

    Strange, in my Solaris does ... try lowercase ;-)
    $ uname -sir
    SunOS 5.6 SUNW,Ultra-4
    $ prtconf|head -2
    System Configuration: Sun Microsystems sun4u
    Memory size: 1024 Megabytes

  9. #9
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    Solaris does ... try lowercase
    Yep, it worked :-)


  10. #10
    Join Date
    Apr 2001
    Posts
    257
    For finding out free memory on Solaris, I've tried as suggested but it complains:

    # sar -r
    sar: can't open /var/adm/sa/sa06
    No such file or directory

    I went to the /var/adm/sa and check, there is no sa06 indeed. Do I need to do anything before I run sar -r?

    Thanks,

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