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

regards
Krishna

Do you have a swap file created?

HI incredeble,

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

regards
Krishna

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