Solaris 10 SWAP SPACE


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 SWAP SPACE
# 1  
Old 04-22-2010
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 12:22 PM.. Reason: code tags, please...
# 2  
Old 04-22-2010
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  
Old 04-23-2010
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 Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Swap space in Solaris box

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... (3 Replies)
Discussion started by: piyush_28
3 Replies

2. Linux

How to reclaim the space which i used to increse the swap space on Xen,

Hi, i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :- 1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1057 ls -l /root/myswapfile 1058 chmod 600 /root/myswapfile 1059 mkswap /root/myswapfile 1060 swapon /root/myswapfile ... (1 Reply)
Discussion started by: apm
1 Replies

3. Shell Programming and Scripting

calculate swap space usage in Solaris and converts it in Percentage

Hi Folks, I am looking for a way to write a script to calculate swap usage in Solaris so that the current usage will be shown in Percentage value. Thanks!! Based on 'swap -s' command # swap -s total: 1378936k bytes allocated + 1236880k reserved = 2615816k used, 2725104k available (2 Replies)
Discussion started by: jaapar
2 Replies

4. UNIX for Dummies Questions & Answers

Without using top, how to get swap space of a "subzone" on Solaris 5.10

Hi all, OS = Solaris 5.10 Without using top, can anyone please advise how to get the current swap space that is assigned to a sub-zone that is part of the Solaris zone? Some of the servers does not have the top command and I do not have access to run zone level commands either like zonecfg... (3 Replies)
Discussion started by: newbie_01
3 Replies

5. Solaris

Releasing the swap space Solaris

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... (4 Replies)
Discussion started by: Paarth
4 Replies

6. Solaris

Releasing the swap space Solaris

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... (6 Replies)
Discussion started by: Paarth
6 Replies

7. UNIX for Advanced & Expert Users

allocating swap space on solaris 9

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... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies

8. AIX

swap space / paging space

how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies

9. UNIX for Dummies Questions & Answers

pageing space vs swap space

Hello, I would like to know if there is any difference between the pageing space and the swap space. Thank you in advance. (1 Reply)
Discussion started by: VeroL
1 Replies

10. UNIX for Dummies Questions & Answers

creating swap space under Solaris 2.6

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... (4 Replies)
Discussion started by: 98_1LE
4 Replies
Login or Register to Ask a Question