Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Date: Mon, 11 Mar 2002 12:59:28 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: how to find the amount of RAM Message-ID: <20020311125928.M29574@cygbert.vinschen.de> Mail-Followup-To: cygwin@cygwin.com References: <15500.14147.671232.764826@localhost.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@cygwin.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/