From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fbb819585c5b50fa X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-02-10 00:42:51 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!dearn!esoc!linuxed1!peernews.demon.co.uk!doc.news.pipex.net! pipex!uunet!zib-berlin.de!gs.dfn.de!fauern!news.th-darmstadt.de!muster!buntspecht.physik.uni-giessen.de!hejny From: hejny@buntspecht.physik.uni-giessen.de (Volker Hejny) Subject: Re: swapon -s - TOTAL % ???? Sender: news@muster.hrz.uni-giessen.de Message-ID: Date: Fri, 10 Feb 1995 08:42:51 GMT Reply-To: hejny@buntspecht.physik.uni-giessen.de (Volker Hejny) References: <3he67n$ju4@dekalb.DC.PeachNet.EDU> Organization: II. Physikalisches Institut, Uni Giessen In article <3he67n$ju4@dekalb.DC.PeachNet.EDU>, douglas@dekalb.DC.PeachNet.EDU (Douglas Jones) writes: |>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%? If you look at the "In-use space" you will see, that all is o.k. (2836+2663=5499). The reserved space is simply larger than the used one. This can happen on 1.3, too |> |>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, what we have learned about percentage and average in school ? Just count the used pages and you see, that all is ok. As you see, the in-use space is as big as the reserved space, but this is not neccessary. |> |>Cheers, |>Douglas |> -- Volker ============================================================================== Volker Hejny | Tel.: 0641 - 702 2783 | \|/ ____ \|/ II. Physikalisches Institut | 2760 | @~ / .. \ ~@ Universitaet Giessen | Fax : 0641 - 74390 | \_( \__/ )_/ Heinrich-Buff-Ring 16 | | \____/ D-35392 Giessen | Internet: hejny@marvin.physik.uni-giessen.de ==============================================================================