Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 1997 16:03:13 -0600 (MDT)
From:      Brandon Gillespie <brandon@sunrem.com>
To:        freebsd-questions@freeBSD.org
Subject:   Swap Partition Info?
Message-ID:  <Pine.BSF.3.96.970908160213.23448A-100000@sunrem.com>

next in thread | raw e-mail | index | archive | help
Just curious, is there something similar to 'swapon -s' in Digital Unix..
output looks like:

> swapon -s
Swap partition /dev/rz0b (default swap):
    Allocated space:        16384 pages (128MB)
    In-use space:            5937 pages ( 36%)
    Free space:             10447 pages ( 63%)

Swap partition /dev/rz1a:
    Allocated space:        36247 pages (283MB)
    In-use space:            7473 pages ( 20%)
    Free space:             28774 pages ( 79%)


Total swap allocation:
    Allocated space:        52631 pages (411MB)
    Reserved space:         17276 pages ( 32%)
    In-use space:           13410 pages ( 25%)
    Available space:        35355 pages ( 67%)

>From the docs:

  -s        Displays swap space utilization.  For each swap partition, this
            flag displays the total amount of allocated swap space, the
            amount of swap space that is being used, and the amount of free
            swap space.

-Brandon Gillespie




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970908160213.23448A-100000>