Package: memstat
Version: 0.5
Severity: normal

Hello,

In man memstat, one can read

`If you do the math, you'll see that ps and memstat don't always agree
about how much virtual memory a process is using.  This is because most
processes seem to map certain shared pages twice. memstat counts these
pages once, ps counts them twice.  I'm not sure which is the ``right''
way to measure it.'

Yes, the page that covers the limit between e.g. text and data is mapped
twice, but since memstat reports the _virtual_ memory used by an
application, that page should be reported twice, since it is effectively
virtually mapped twice.

Samuel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages memstat depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries

memstat recommends no packages.

memstat suggests no packages.

-- no debconf information

-- 
Samuel
<b> lisons de l'assembleur c
 -+- #sos - CrisC forever -+-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to