X-Spam-Check-By: sourceware.org
Date: Mon, 24 Jul 2006 12:42:23 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Top reports wrong memoryuse
Message-ID: <20060724104223.GF11991@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4411.130.240.136.130.1153502481.squirrel@pinus.tt.luth.se> <20060724100156.GB12496@calimero.vinschen.de> <2ce9650b0607240325y51348bcas6192e2614af1bfad@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2ce9650b0607240325y51348bcas6192e2614af1bfad@mail.gmail.com>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

