Subject: weird memory size reports
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Michael L. VanLoon -- Iowa State University <michaelv@iastate.edu>
List: current-users
Date: 01/25/1994 07:51:01
This is from top, running on a kernel built from yesterday's sources
(top was built a couple weeks ago).  How come some processes have more
resident memory than their total memory size?  Is this because top is
able to count size as their size without shared libs, and res is their
size including the shared libs, or what's the deal?  Most of the
processes looked normal (SIZE bigger than RES), but these kinda caught
my attention.  "ps avx" (which was built yesterday also) rebuilts very
similar memory sizes (with these same processes having bigger RSS than
VSZ).  Thanks for any clues...

  PID USERNAME PRI NICE   SIZE   RES STATE   TIME   WCPU    CPU COMMAND
  169 root      64   18   200K  404K run    31:23  4.69%  4.69% top
   82 root      18    0    12K   60K sleep   0:39  0.00%  0.00% update
  495 root      10    5    32K  204K sleep   0:00  0.00%  0.00% atrun
  496 root      10    5   112K  120K sleep   0:00  0.00%  0.00% sh
  122 root       3    0    24K   32K sleep   0:00  0.00%  0.00% getty
  510 root       2   12   124K  420K sleep   0:02  0.00%  0.00% sup
   92 root       2    8   172K  284K sleep   0:02  0.00%  0.00% named
   68 root       2    0    64K  252K sleep   0:02  0.00%  0.00% syslogd
  512 root       2   15    44K  216K sleep   0:00  0.00%  0.00% tail
  509 root       2   12    32K  216K sleep   0:00  0.00%  0.00% tail
  513 michaelv   2   15    28K  204K sleep   0:00  0.00%  0.00% tail
  143 root       2    0    76K  100K sleep   0:06  0.00%  0.00% telnetd
   95 root       2    0    84K   92K sleep   0:01  0.00%  0.00% inetd
 
				--Michael

------------------------------------------------------------------------------
    Michael L. VanLoon  --  michaelv@iastate.edu  --  gg.mlv@isumvs.bitnet
 Iowa State University of Science and Technology -- The way cool place to be!
   Project Vincent Systems Staff, Iowa State University Computation Center
------------------------------------------------------------------------------



------------------------------------------------------------------------------