top/ps: is Active Memory = sum(resident set size)?

Anton Shterenlikht mexas at
Tue Jan 12 14:17:33 UTC 2010

This has probably been discussed before, so apology for
asking the same question again.

Should the Active memory, as reported by top(1), be equal to the
sum of rss (the real memory (resident set) size of the process)
of all processes, as reported by ps(1)?
The sum of ps(1) rss fields is probably the same as
the sum of RES fields of top(1).

I seem to have much bigger Active set than the sum of
all resident (or real) memories used by all processes.

Please advise

many thanks

Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

More information about the freebsd-questions mailing list