Solaris 10 SWAP SPACE


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Solaris 10 SWAP SPACE

We have a SPARC system which is running on Solaris-9 and Physical memory size is 16GB.We have allocated 32GB SWAP space(2 times of physical memory).But when we use df -h command it shows following output and SWAP space size shows more than our allocated space


Code:
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.6G 1.0G 8.5G 11% /
/dev/dsk/c1t0d0s4 29G 1.6G 27G 6% /usr
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s3 29G 5.1G 23G 18% /var
swap 42G 176K 42G 1% /var/run
swap 42G 336K 42G 1% /tmp
/dev/dsk/c1t0d0s5 29G 1.3G 27G 5% /opt

but in partition table and by swap -l command it shows actual allocated size.

What is the reason of showing two different swap size in two different command?

Please give me any reference or solution regarding this.

Last edited by pludi; 04-22-2010 at 11:22 AM.. Reason: code tags, please...
# 2  
There is no solution as there is no problem. Swap is used to either refer to the swap area (i.e. some disk space where memory pages can be paginated in/out) or to the whole virtual memory area which is composed of the swap area plus most of the RAM.
# 3  
Quote:
Originally Posted by cyberdemon
We have a SPARC system which is running on Solaris-9 and Physical memory size is 16GB.We have allocated 32GB SWAP space(2 times of physical memory).But when we use df -h command it shows following output and SWAP space size shows more than our allocated space


Code:
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.6G 1.0G 8.5G 11% /
/dev/dsk/c1t0d0s4 29G 1.6G 27G 6% /usr
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s3 29G 5.1G 23G 18% /var
swap 42G 176K 42G 1% /var/run
swap 42G 336K 42G 1% /tmp
/dev/dsk/c1t0d0s5 29G 1.3G 27G 5% /opt

but in partition table and by swap -l command it shows actual allocated size.

What is the reason of showing two different swap size in two different command?

Please give me any reference or solution regarding this.
KINDLY GOOGLE OR LOOK INTO SUN DOCS ON THESE FAQS BEFORE YOU POST. THANKSSmilie
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Swap space in Solaris box
piyush_28
Hello Team, By the way of introduction, I am new member in this forum and proud too :) Here is my questions: In one of our Solaris Sparc v9 box, we are facing issues related to swap space. Our custom applications are using swap space even though physical memory is available. From some...... Solaris
3
Solaris
Releasing the swap space Solaris
Paarth
Hi Guys ! I have found this problem many times that the swap space (/tmp space more precisely )of my Server becomes full specially when i run a complete back up of the server . once the /tmp space is full I am not able to run simple commands as i get error like : fork no space on...... Solaris
4
Solaris
Releasing the swap space Solaris
Paarth
Hi Guys ! I have found this problem many times that the swap space (/tmp space more precisely )of my Server becomes full specially when i run a complete back up of the server . once the /tmp space is full I am not able to run simple commands as i get error like : fork no space on...... Solaris
6
Solaris
allocating swap space on solaris 9
0ktalmagik
Hi, I have a solaris 9-sparc box, which after bouncing is giving swap space related error messages(that swap space is not enough). could it be possible that there was some command issued or setting made before bouncing, which was lost after bouncing? please let me know how i can add swap space...... UNIX for Advanced & Expert Users
1
UNIX for Advanced & Expert Users
creating swap space under Solaris 2.6
98_1LE
I just finished installing Solaris 2.6 and several applications just to realize that I made a bonehead mistake during the install. When setting up the filesystems, I entered /tmp and no swap! Is it possible to permanantly declare the entire /tmp partition as swap? I am guessing an entry in the...... UNIX for Dummies Questions & Answers
4
UNIX for Dummies Questions & Answers