[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug-or-feature: top & 'xxxK shrd'



Hi there,

  I haven't found any better explanation, but somehow I have a strange
feeling on top's output:

  1:22pm  up 17 days, 21:17,  4 users,  load average: 2.26, 0.59, 0.19
80 processes: 70 sleeping, 8 running, 0 zombie, 0 stopped
CPU states: 93.9% user,  6.0% system,  0.0% nice,  0.5% idle
Mem:  128044K av, 122444K used,   5600K free, 272464K shrd,  38084K buff
Swap: 128736K av,      0K used, 128736K free             35896K cached

    USER  PPID   PID %CPU   VSZ  SHRD  TT STAT   TIME COMMAND
[...]
adabas       1   470  0.0 17176 13836  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   471  0.0 17176 13836  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   472  0.0 17176 13836  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   473  0.0 17176 13844  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   474  0.0 17180 13852  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   475  0.0 17180 13864  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   476  0.0 17236 13912  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   477  0.0 19984 13872  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   478  0.0 17232 13864  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   479  0.0 17232 13864  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     470   480  0.0 18624 15308  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     475   481  0.0 17180 13860  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     475   484  0.0 17180 13856  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     475   485  0.0 17180 13860  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     475   486  0.0 17180 13856  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     475   487  0.0 17180 13860  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     475   488  0.0 17180 13856  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
adabas     475   489  0.0 17180 13868  ?  S      0:00 /opt/adabas/pgm/db:sysdb 
[...]


I had assumed that 'xxxK shared' is the size of all pages that are used by
two or more processes (without counting those pages as often as there are
processes having access to the page). The output that I have seems to be a
simple addition of the size of shared pages within each process, which
causes quite a huge amount due to the big shared memory pages within the
Adabas D processes.

  Now, is that really the desired effect? I mean, what's the '277464K
shrd' info good for except for boasting to those Windoze people?
  I'd rather be interested in an output of total shared size, where each
shared page is only listed once...


  Benedikt

signoff
---
 Benedikt Eric Heinen  -  Muehlemattstrasse 53  -  CH3007 Bern  -   SWITZERLAND
                          email: beh@icemark.thenet.ch


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: