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

X-Spam-Check-By: sourceware.org
Message-ID: <2ce9650b0607240325y51348bcas6192e2614af1bfad@mail.gmail.com>
Date: Mon, 24 Jul 2006 11:25:28 +0100
From: "Chris January" <chris AT atomice DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Top reports wrong memoryuse
In-Reply-To: <20060724100156.GB12496@calimero.vinschen.de>
MIME-Version: 1.0
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>
X-Google-Sender-Auth: 036f44d97cc9d643
X-IsSubscribed: yes
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

> 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.

Chris

--
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