`top` process memory usage: SIZE vs RES

Dan Nelson dnelson at allantgroup.com
Thu Sep 11 16:17:44 PDT 2003


In the last episode (Sep 11), Jesse Guardiani said:
> 1.) Where is my Free memory going? I can't account for it
>     in the SIZE and RES columns of the various processes.
>     These are relatively constant.

Disk cache.
 
> 2.) What, exactly, is RES? `man top` describes it as this:
>     "RES is the current amount of resident memory", but does
>     that mean RES is included in SIZE? Or does that mean that
>     RES should be counted in addition to SIZE?

RES the amount of SIZE that it currently in core, and thus should never
exceed SIZE (I don't see any processes on my system that do at least).

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list