Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to determine SWAP size ??? (Netra 440/ Solaris 10)

807557May 29 2010 — edited May 31 2010
Hi Friends

I have trouble with the following OUTPUTs:

# prtdiag

System Configuration: Sun Microsystems sun4u Sun Fire V440
System clock frequency: 177 MHZ
Memory size: 8GB

# /usr/sbin/swap -l

swapfile dev swaplo blocks free
/dev/vx/dsk/bootdg/swapvol 291,7000 16 16373168 13437120

# swap -s

total: 6495832k bytes allocated + 236328k reserved = 6732160k used, 6942968k available

# df -k

Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/bootdg/rootvol 62516603 34004373 27887064 55% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 6962904 1608 6961296 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 62516603 34004373 27887064 55% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 62516603 34004373 27887064 55% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0 0 0 0% /dev/fd
swap 6965712 4416 6961296 1% /tmp
swap 6961344 48 6961296 1% /var/run
swap 6961296 0 6961296 0% /dev/vx/dmp
swap 6961296 0 6961296 0% /dev/vx/rdmp
/dev/vx/dsk/bgw1dg/vol01 203768832 129151641 70294743 65% /var/opt/BGw/Server1
/dev/vx/dsk/ora1dg/vol01 10480640 5502642 4666959 55% /var/opt/mediation/ora
/dev/dsk/c1t2d0s2 70589121 219550 69663680 1% /mnt

At first I would have said that the total SWAP size is 6,6GB, but now I am in doubt since I see several SWAP line on the df OUTPUT.

Please help:

1. What is the total SWAP size for the machine?
2. Why is there 4 lines mentionning SWAP on the df OUTPUT?
3. With 8GB of RAM on this machine do I need to increase the SWAP?
4. If yes how to increase the SWAP?

Thanks in advance !
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2010
Added on May 29 2010
2 comments
228 views