Solaris 10 SWAP SPACE

Tags
solaris

 
Thread Tools Search this Thread
# 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

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

More UNIX and Linux Forum Topics You Might Find Helpful
Swap space not getting used shiek.kaleem Red Hat 2 01-04-2013 09:19 AM
Swap space in Solaris box piyush_28 Solaris 3 10-11-2012 11:33 AM
Swap space jegaraman Solaris 5 07-26-2011 09:35 AM
How to reclaim the space which i used to increse the swap space on Xen, apm Linux 1 06-20-2011 03:09 PM
calculate swap space usage in Solaris and converts it in Percentage jaapar Shell Programming and Scripting 2 11-06-2010 11:10 AM
Without using top, how to get swap space of a "subzone" on Solaris 5.10 newbie_01 UNIX for Dummies Questions & Answers 3 09-29-2010 06:30 PM
Releasing the swap space Solaris Paarth Solaris 4 03-22-2010 08:42 PM
Releasing the swap space Solaris Paarth Solaris 6 03-21-2010 05:37 AM
swap space manoj.solaris Linux 1 08-22-2007 07:11 AM
allocating swap space on solaris 9 0ktalmagik UNIX for Advanced & Expert Users 1 05-23-2006 01:42 AM
Swap space used??? Lestat UNIX for Dummies Questions & Answers 1 02-17-2005 11:51 AM
swap space / paging space aaronh AIX 2 05-19-2004 11:06 AM
pageing space vs swap space VeroL UNIX for Dummies Questions & Answers 1 01-22-2004 11:54 AM
creating swap space under Solaris 2.6 98_1LE UNIX for Dummies Questions & Answers 4 07-24-2001 10:16 AM
SWAP SPACE SmartJuniorUnix UNIX for Dummies Questions & Answers 5 11-13-2000 12:08 AM