Strange output of `swap -s'

From: Mark Andrews (mta61_at_yahoo.com)
Date: 08/18/04

  • Next message: Atro Tossavainen: "Re: Strange output of `swap -s'"
    Date: 18 Aug 2004 12:00:31 -0700
    
    

    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?


  • Next message: Atro Tossavainen: "Re: Strange output of `swap -s'"

    Relevant Pages

    • Re: Mapping seems to suck
      ... Keep in mind that 32 bits can address only 4 gig. ... Actually mapped regions are swapped to the original file and don't count against swap space. ...
      (comp.lang.java.programmer)
    • Re: How much drive space for Linux?
      ... > space as you have RAM. ... separate 2 gig swap space on a separate paartition. ... > make the attempt to install it and see whether it fits. ...
      (linux.redhat.install)
    • Adding swap space, any limits on too much?
      ... I have a DS20 with 1 gig of memory and only 1.5 gig of swap space. ... I want to install a 2nd gig of memory and set up additional swap space. ... simple solution versus repartioning existing drives. ...
      (comp.unix.tru64)
    • Re: Do I Need To Add More Swap Space?
      ... to allocate the whole disk for FBSD. ... I just ordered another 2-gig of ram bringing the total amount to 4-gig. ... need to back the RAM with more swap space. ... gig to swap space since diks is cheap. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: fork failed: not enough space during execute command when updating to .22
      ... : Upgrading selected eoe.sw subsystems ... Are you doing this in the miniroot or "live"? ... The problem looks to me to be one of running out of swap space ... while virtual swap (vswap) is turned off. ...
      (comp.sys.sgi.misc)