Re: Strange output of `swap -s'

From: Atro Tossavainen (Atro.Tossavainen+news_at_helsinki.finland.invalid)
Date: 08/19/04


Date: 19 Aug 2004 12:56:23 +0300

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


Relevant Pages

  • Re: Recording Jumpy Audio
    ... virus scan and spyware, ... Lack of RAM? ... all of the above could contribute to swapping. ... is, you've allocated more memory than you have RAM, so the OS is constantly ...
    (rec.audio.tech)
  • Re: OSX vs XP
    ... > There is either swapping or a waste of RAM. ... > is loaded faster than data that hasn't been in memory before at all. ... We wouldn't need GB of RAM in systems if people didn't think ... Fortunately it's cheap. ...
    (comp.sys.mac.advocacy)
  • Re: PS on exclusion Re: FC1 Users: Sample .... One more problem
    ... > swapping things out to the hard drive. ... System Monitor shows Used Memory and Used Swap pretty steady at 104 of 115 ... PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMA ... It eats heaps of RAM! ...
    (Fedora)
  • Re: diagnosing hard-locks [was memtest+ wont load]
    ... since my 256MB of RAM is taken up almost entirely by firefox ... > resurrect the thing I'll pick up a SODIMM to boost the physical RAM, ... When I pull up openoffice I'll start swapping, ... a lighterweight desktop is helpful on that laptop. ...
    (Debian-User)
  • Re: Vista Crashing Constantly!! Please Help!
    ... memory_management Blue Screens. ... 2GB RAM and waiting to see if it still crashes. ... It seems the software loaded is probably causing the problem, but it doesn't hurt to check other things. ... Many time the logs will point to a potential problem. ...
    (microsoft.public.windows.vista.general)