[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Re: Top reports wrong memoryuse
From:       Corinna Vinschen <corinna-cygwin () cygwin ! com>
Date:       2006-07-24 10:42:23
Message-ID: 20060724104223.GF11991 () calimero ! vinschen ! de
[Download RAW message or body]

On Jul 24 11:25, Chris January wrote:
> >It would be possible to change /proc/*/stat{m} to use the page size
> >of 64K, but this would make the values in those files imprecise.  It
> >might be better just to change top.
> 
> I'll see if I can patch top to get these right. IIRC there is a
> constant defined somewhere with the correct page size.

Cool, thanks in advance.

I don't think there's a constant.  Maybe it's better just to use the
page size returned by GetSystemInfo() directly in top.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic