On Mon, 18 May 1998, Danny Rice wrote:
>I have 128 M of memory.  When I do a top it reports about 108376K
>used.  When I do a
>
>ps aux | awk '{sum+=$6}END{print sum}'
>
>I get about 59000K

It's because of shared memory. Many of the processes areas that you are
reporting have shared components. For instance, if you had 6 copies  of
sendmail running then just summing up their resident size areas as
reported by ps would give you something like the above. However, most of
the pages of these processes would be shared. 

>Danny Rice

--
------------------------------------------------------------------------
David E. Fox                 Tax              Thanks for letting me
[EMAIL PROTECTED]   the              change magnetic patterns
[EMAIL PROTECTED]      churches         on your hard disk.
-----------------------------------------------------------------------


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to