Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: douglas@dekalb.DC.PeachNet.EDU (Douglas Jones)
Subject: swapon -s - TOTAL % ????
Date: 9 Feb 1995 17:50:31 -0500	[thread overview]
Message-ID: <3he67n$ju4@dekalb.DC.PeachNet.EDU> (raw)


Here is the output from swapon -s on my dec 3400 running osf 3.0:

%swapon -s
Swap partition /dev/rz0b (default swap):
    Allocated space:        25088 pages (196MB)
    In-use space:            2836 pages ( 11%)
    Free space:             22252 pages ( 88%)

Swap partition /dev/rz3b:
    Allocated space:        17089 pages (133MB)
    In-use space:            2663 pages ( 15%)
    Free space:             14426 pages ( 84%)


Total swap allocation:
    Allocated space:        42177 pages (329MB)
    Reserved space:          8150 pages ( 19%)
    In-use space:            5499 pages ( 13%)
    Available space:        34027 pages ( 80%)


First, the "total" has been moved to the bottom under 3.0 instead of at
the top where it was on 1.3a. Personally, I like the new placement. Now,
look at the Free space for the two partitions: 88$ and 84%. Now look at the
total Available space: 80%. Should it actually be 86%?

Now back to osf 1.3a, here is the output:

%swapon -s
Total swap allocation:
    Allocated space:        87941 pages (687MB)
    Reserved space:         24556 pages ( 27%)
    Available space:        63385 pages ( 72%)

Swap partition /dev/rz16b:
    Allocated space:        32515 pages (254MB)
    In-use space:            8416 pages ( 25%)
    Free space:             24099 pages ( 74%)

Swap partition /dev/rz0b:
    Allocated space:        16384 pages (128MB)
    In-use space:            8389 pages ( 51%)
    Free space:              7995 pages ( 48%)

Swap partition /dev/rz8b:
    Allocated space:        39042 pages (305MB)
    In-use space:            7751 pages ( 19%)
    Free space:             31291 pages ( 80%)

Note total is now at top: average them out: 74+48+80 = 202; 202/3 = 67.333...

So, any ideas? I have been assuming all along that the total was an average
of the others. Is it wieghted somehow?

Cheers,
Douglas


             reply	other threads:[~1995-02-09 22:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-09 22:50 Douglas Jones [this message]
1995-02-10  8:42 ` swapon -s - TOTAL % ???? Volker Hejny
1995-02-11  2:47 ` Brian Saunders
     [not found] <3he67n$ju4@dekalb.dc.peachnet.edu>
1995-02-10 15:18 ` Stefan Monnier
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox