I have a Solaris 7 system running Oracle.
My DBA wants to how much memory is available.
I am not sure how to answer that. The system has about 4 GB of ram. Can someone help. Kinda new to this.
Thanks
Hi,
Maybe I am not asking properly.... I know how much ram
I have. I have 4GB. I am looking to find out how much
is being used and how much is free.
Regards,
As bfitzmai says use vmstat (ignore line 1) - example
If Memory size: 16384 Megabytes - look under "free" column and it says 10 005 864 which is 10Gb available = 6Gb is use
Memory size: 16384 Megabyteskthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 s2 s3 in sy cs us sy id
0 0 0 27563536 12328056 275 1386 36 2 2 0 0 0 3 3 0 705 1006 778 5 5 90
0 0 0 25334992 10005864 233 2073 0 4 4 0 0 0 0 0 0 996 5593 3049 27 6 67
use vmstat and look at "swap" column, it will tell you how much swap space you have in Kilobytes
note: most system uses /tmp with a tmpfs in RAM, storing large files in this (fast) will eat up your RAM. If the RAM is used up (close) files in RAM will be swaped out to the swap disk
Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years in the domain of the OS, Backup and Storage
Did you know... you can limit the size of /tmp by adding the size= mount option. Very handy for preventing runaway jobs creating massive files in /tmp and gobbling up all of your memory. The maximum value is "2047m". See man mount_tmpfs for details.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.