Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 08:36:09 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Dmitry Mottl <dima@sinp.msu.ru>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: top output
Message-ID:  <20011102083609.J35710@k7.mavetju.org>
In-Reply-To: <3BE15473.5020104@sinp.msu.ru>; from dima@sinp.msu.ru on Thu, Nov 01, 2001 at 04:56:03PM %2B0300
References:  <3BE15473.5020104@sinp.msu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 01, 2001 at 04:56:03PM +0300, Dmitry Mottl wrote:
> Why 'top' shows the different values for SIZE and RES fields?
> At the same time all SWAP space is unused.

If I recall correctly:

SIZE is the amount of total memory used by the application.
RES is the amount of resident memory in use at this moment.
SIZE minus RES is what is swapped out or in InAct:

Mem: 133M Active, 69M Inact, 36M Wired, 8408K Cache, 35M Buf, 2416K Free
  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
70241 nobody    94  15 17732K 15708K RUN     61.7H 79.64% 79.64% setiathome-lin

18Mb of the total memory used, 16Mb in resident/active memory and
2 Mb either swapped out or in InAct state.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011102083609.J35710>