tmpfs File system, swap usage.

From: zanwar.prashant@uktransco.com
Date: Wed Sep 11 2002 - 04:22:38 EDT


Hi all,

Here I got the question. Little tough, about swap usage and /tmp file
system. I request all to reply immediate.

I got Sun - Cluster installed on the system. This is having following
configuration,
####################
# swap -l
swapfile dev swaplo blocks free
/dev/vx/dsk/swapvol1 133,8 16 2049824 1278928
#########################
# grep -i swap /etc/vfstab
/dev/vx/dsk/swapvol1 - - swap - no -
swap - /tmp tmpfs - yes -
#NOTE: volume swapvol (swap) encapsulated partition c0t0d0s1
/dev/vx/dsk/rootdg/swapvol /dev/vx/rdsk/rootdg/swapvol /var/tmp
ufs 3 yes -
##################
# swap -s
total: 928264k bytes allocated + 224880k reserved = 1153144k used, 621440k
available

############################
# df -k /tmp
Filesystem kbytes used avail capacity Mounted on
swap 633888 2064 631824 1% /tmp
# df -k /tmp
Filesystem kbytes used avail capacity Mounted on
swap 633240 2064 631176 1% /tmp
# df -k /tmp
Filesystem kbytes used avail capacity Mounted on
swap 634688 2064 632624 1% /tmp

I can understand, if the values in the swap -s change, like all values may
change, as its virtually allocated, and memory is also involved, which is
freed and used as per the requirement.

My question is I am seeing that, /tmp also varies, which is quite
unanswering for me to the customer, who found this.

And can somebody tell me that, what exaclty I shall do to find out, swap
used by system and thus by users. Please clarify. Please immediate.

I will summerize, Please reply immediate, thanks in advance. I have posted
this message twice, but I received a mail saying awaiting for approval,
please clarify this too.

cheers
regards
Prashant Zanwar

The views expressed in this email are not necessarily the views of Transco
plc, and the company, its directors, officers or employees make no
representation or accept any liability for its accuracy or completeness
unless expressly stated to the contrary.

This e-mail, and any attachments are strictly confidential and intended for
the addressee(s) only. The content may also contain legal, professional or
other privileged information. If you are not the intended recipient, could
you please notify the sender immediately and then delete the e-mail and any
attachments, you should not disclose, copy or take any action in reliance
of this transmission. Unless expressly stated to the contrary, no
contracts may be concluded on behalf of Transco plc by means of e-mail
communication.

You may report the matter by calling us on +44 (0)1455 230999.

You should not copy, forward or otherwise disclose the contents of this
e-mail or any of its attachments without express consent.

Please ensure you have adequate virus protection before you open or detach
any documents from this transmission. Transco plc does not accept any
liability for viruses.

Transco plc is part of Lattice Group
Transco plc is registered in England: Company number: 2006000
Registered Office: 130 Jermyn Street, London, SW1Y 4UR
http://www.transco.uk.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:55 EDT