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@atomice.net>
To: cygwin@cygwin.com
Subject: Re: Top reports wrong memoryuse
In-Reply-To: <20060724100156.GB12496@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <4411.130.240.136.130.1153502481.squirrel@pinus.tt.luth.se> 	 <20060724100156.GB12496@calimero.vinschen.de>
X-Google-Sender-Auth: 036f44d97cc9d643
X-IsSubscribed: yes
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

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

