[SUMMARY]: swap size reporting double]

From: <SunAdmi_at_netscape.net>
Date: Mon Jun 07 2004 - 17:09:24 EDT
Thanks to all who responded. The original post and most complete response are attached below, exactly what I was looking for. Thanks Larye Parkins.

Larye wrote..

swap reports the number of disk blocks, which are, by tradition, 512
bytes, or one disk sector.  Not to be confused with file system blocks,
which are 8192 bytes (usually).  Lots of other utilities (like df without
-k) report 512-byte block counts).

/var/run is the repository for doors, sockets, process pid numbers, and
other ephemera that don't need to persist through a reboot.  Since Solaris
uses unallocated RAM as part of the swap space, /var/run is, in effect, a
RAMdisk for performance purposes.

--
Larye D. Parkins
Information Engineering Services
PMB 435, 610 N. 1st St., Ste 5
Hamilton, MT 59840
406 375 6139

On Mon, 7 Jun 2004 SunAdmi@netscape.net wrote:

> Hello managers,
> 
> A question I should probably know the answer to...
> 
> I have a v880, with two controllers running Solaris 9 with 8 gig allocated for swap. Swap -l reports the correct block number; 16780208, format shows 8 gigs, but df -kl shows:
> 
> swap                 15310816      40 15310776     1%    /var/run
> swap                 15310776       0 15310776     0%    /tmp
> 
> Can someone explain why this is so? While I am at it, another probably stupid question, what is the second /var/run mount for?
> 
> Thanks in advance.
> 
> 


__________________________________________________________________
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
Return-Path: <larye@parkins.org>
Received: from  rly-nc01.mx.aol.com (rly-nc01.mail.aol.com
  [172.18.151.198]) by air-nc03.mail.aol.com (v99_r4.8) with ESMTP id
  MAILINNC33-822040c4c86a35b; Mon, 07 Jun 2004 15:56:26 -0400
Received: from  mail.cybernet1.com (mail.cybernet1.com [207.15.79.93])
  by rly-nc01.mx.aol.com (v99_r4.3) with ESMTP id
  MAILRELAYINNC19-66740c4c85274; Mon, 07 Jun 2004 15:56:03 -0400
Received: from xavier [63.175.227.41] by mail.cybernet1.com with ESMTP
  (SMTPD32-8.10) id A868AA1600AA; Mon, 07 Jun 2004 13:56:24 -0600
Date: Mon, 7 Jun 2004 13:55:51 -0600 (MDT)
From: Larye Parkins <larye@parkins.org>
X-Sender: larye@xavier
To: SunAdmi@netscape.net
Subject: Re: swap size reporting double
In-Reply-To: <1C569321.073FB4F7.001A96BD@netscape.net>
Message-ID: <Pine.GSO.4.10.10406071348460.19731-100000@xavier>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Declude-Sender: larye@parkins.org [63.175.227.41]
X-Spam-Tests-Failed: HELOBOGUS [5]
X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com)
  for spam.
X-AOL-IP: 172.18.151.198

swap reports the number of disk blocks, which are, by tradition, 512
bytes, or one disk sector.  Not to be confused with file system blocks,
which are 8192 bytes (usually).  Lots of other utilities (like df without
-k) report 512-byte block counts).

/var/run is the repository for doors, sockets, process pid numbers, and
other ephemera that don't need to persist through a reboot.  Since Solaris
uses unallocated RAM as part of the swap space, /var/run is, in effect, a
RAMdisk for performance purposes.

--
Larye D. Parkins
Information Engineering Services
PMB 435, 610 N. 1st St., Ste 5
Hamilton, MT 59840
406 375 6139

On Mon, 7 Jun 2004 SunAdmi@netscape.net wrote:

> Hello managers,
> 
> A question I should probably know the answer to...
> 
> I have a v880, with two controllers running Solaris 9 with 8 gig allocated for swap. Swap -l reports the correct block number; 16780208, format shows 8 gigs, but df -kl shows:
> 
> swap                 15310816      40 15310776     1%    /var/run
> swap                 15310776       0 15310776     0%    /tmp
> 
> Can someone explain why this is so? While I am at it, another probably stupid question, what is the second /var/run mount for?
> 
> Thanks in advance.
> 
> 
> __________________________________________________________________
> Introducing the New Netscape Internet Service. 
> Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
> 
> Netscape. Just the Net You Need. 
> 
> New! Netscape Toolbar for Internet Explorer
> Search from anywhere on the Web and block those annoying pop-ups.
> Download now at http://channels.netscape.com/ns/search/install.jsp
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
> 
> 
> 

---
[This E-mail scanned for viruses]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Jun 7 17:09:18 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:31 EST