how to get the more memory free space (see memory free column)

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
Operating Systems Solaris how to get the more memory free space (see memory free column)
# 1  
Power how to get the more memory free space (see memory free column)

Hi all,

Could please let me know how to get the more memory free space (not added the RAM) in local zone.

-bash-3.00# vmstat 2 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 s1 s1 in sy cs us sy id
3 0 0 275540984 28746120 305 2559 6 1 1 0 2 8 -0 8 -0 1682 19496 2193 7 3 90
0 1 0 273135528 32176488 173 3883 0 0 0 0 0 32 0 17 0 3110 37770 4437 15 4 82
0 2 0 273114792 32158840 2 3725 0 0 0 0 0 37 0 28 0 2813 36457 3860 14 3 84
0 2 0 273091368 32140688 106 3763 0 0 0 0 0 48 0 40 0 2496 40202 4192 11 4 85
0 3 0 273058000 32102944 845 6614 0 8 8 0 0 67 0 54 0 2638 35354 3399 16 11 74

# 2  
Do you have a swap file created?
# 3  
HI incredeble,

we are created two swap file partitions. Any other way. please help me out.

# 4  
As long as your assigned swap is equal or more than your physical RAM, its safe..
I cant assist you without much info..
1.Use mkfile to create a file suitable for a local swap area. For example, to create a 1GB swap file:

/usr/sbin/mkfile 1024m /swapwhere /swap is the name of the file to be used as swap space. Units for the size can be kilobytes (k), blocks (b), or megabytes (m).

2.Tell the system to start using the file as swap:

/usr/sbin/swap -a /swapUse

swap -l to verify that the swap file has been activated.

Put an entry in /etc/vfstab also.

for your reading
BigAdmin Submitted Article: Impact of Swap Space on System Performance for the Solaris 9 and 10 OS
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #743
Difficulty: Medium
The AMD Optimizing C/C++ Compiler (AOCC) is a free, open source, optimizing compiler from AMD.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

How the free memory threshold?

If I understand your question correctly, you are asking for an explanation of Solaris memory manager. You'd better ask Oracle that question because you are talking about Solaris kernel internals. The operating system kernel has no reason to kick a process's memory set out of real memory until... (4 Replies)
Discussion started by: hicksd8
4 Replies

2. Solaris

Swap completely used with memory free

I have a Solaris 10 VM that processes are seg faulting on (no space) and swap goes from 64GB to 151MB which triggers the seg fault. The free memory is 25GB when this occurs. I have adjusted the project to use all available ram. My question is why is swap being filled with 25GB remaining? the... (10 Replies)
Discussion started by: thefroggy
10 Replies

3. Solaris

Is there a way to free up memory manually ?

Hi, I am wondering if there is a way to free up memory in Solaris manually ? the way we can do it in Linux for example : echo `/bin/date` "************* Memory Info Before *************" free -m sync echo 1 > /proc/sys/vm/drop_caches echo 2 > /proc/sys/vm/drop_caches echo 3 >... (13 Replies)
Discussion started by: terrykhatri531
13 Replies

4. Programming

Memory free() in C

Hi guys. I've a question, if we are using a syscall that receives a string allocated dynamicaly to a determined size, or NUL and it will allocate the apropriate size. We should free the memory or the OS will do it for us? If a function returns a pointer we should free that poiter when we are done... (7 Replies)
Discussion started by: pharaoh
7 Replies

5. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

6. Red Hat

how to find out free memory?

hi, I have done the below, but am confused as to how much memory is "free" please help thanks $ free total used free shared buffers cached Mem: 132033488 48827536 83205952 0 1007696 45404632 -/+ buffers/cache: 2415208 ... (7 Replies)
Discussion started by: JamesByars
7 Replies

7. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

8. AIX

Free Memory in aix

Hi, I want to know how to find out free physical memory in aix, (11 Replies)
Discussion started by: manoj.solaris
11 Replies

9. AIX

Free Memory

Hi, how to find free memory in aix? for installing oracle,I have used svmon but not getting proper output (1 Reply)
Discussion started by: manoj.solaris
1 Replies

10. Programming

How to free the memory?

For example if i have the piece of code as follows: CountryName = (char *)malloc((strlen(CountryName)+1)*sizeof(char)); memset(CountryName, 0, strlen(CountryName)+1); CountryName = SOME VALUE Now how do i free the memory after use of this code???? :confused: (3 Replies)
Discussion started by: jazz
3 Replies

Featured Tech Videos