This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Top reports wrong memoryuse
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/