delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/24/06:42:39

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019