Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 11 Mar 2002 12:59:28 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: how to find the amount of RAM Message-ID: <20020311125928.M29574@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <15500 DOT 14147 DOT 671232 DOT 764826 AT localhost DOT localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15500.14147.671232.764826@localhost.localdomain> User-Agent: Mutt/1.3.22.1i On Sun, Mar 10, 2002 at 08:49:07PM -0800, Stephen Weeks wrote: > > Is there a way to find the amount of RAM from within Cygwin? I > tried sysconf(_SC_PHYS_PAGES) but that returns -1. The only other > thing that I saw was a post on this list > > http://sources.redhat.com/ml/cygwin/2001-11/msg00849.html > > but that never received an answer. Any ideas? Thanks. _SC_PHYS_PAGES is only supported on NT/2K/XP. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/