Strange output of `swap -s' - SGI

This is a discussion on Strange output of `swap -s' - SGI ; We've got a 6 partition Origin 3800 system with 1 gig of swap space: $swap -l lswap path dev pri swaplo blocks free maxswap vswap 1 /dev/swap 0,838 0 0 2097152 2097152 2097152 0 but when I use the -s ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Strange output of `swap -s'

  1. Strange output of `swap -s'

    We've got a 6 partition Origin 3800 system with 1 gig of swap space:

    $swap -l
    lswap path dev pri swaplo blocks free maxswap
    vswap
    1 /dev/swap
    0,838 0 0 2097152 2097152 2097152
    0

    but when I use the -s option to swap, the numbers are much larger:

    $swap -s
    total: 0.00k allocated + 11.15g add'l reserved = 11.15g bytes used,
    21.68g bytes available

    Any idea what's causing the massive discrepancy in reported numbers?

  2. Re: Strange output of `swap -s'

    mta61@yahoo.com (Mark Andrews) writes:

    > $swap -s
    > total: 0.00k allocated + 11.15g add'l reserved = 11.15g bytes used,
    > 21.68g bytes available
    >
    > Any idea what's causing the massive discrepancy in reported numbers?


    Sure. You're not swapping yet, that's all RAM.

    This is from an O2 I'm just working on:

    (from top)
    Memory: 320M max, 283M avail, 213M free, 512M swap, 512M free swap

    $ /sbin/swap -s
    total: 0.00k allocated + 86.11m add'l reserved = 86.11m bytes used, 728.64m bytes available

    86.11M + 728.64M = 814.75M

    320M RAM + 512M swap = 832M

    --
    Atro Tossavainen (Mr.) / The Institute of Biotechnology at
    Systems Analyst, Techno-Amish & / the University of Helsinki, Finland,
    +358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own.
    < URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS

+ Reply to Thread