delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | Chris January <news-returns AT atomice DOT net> |
Newsgroups: | gmane.os.cygwin |
Subject: | Re: how to find the amount of RAM |
Date: | Mon, 11 Mar 2002 13:38:30 +0000 |
Lines: | 17 |
Message-ID: | <a6ic0l$r50$1@main.gmane.org> |
References: | <15500 DOT 14147 DOT 671232 DOT 764826 AT localhost DOT localdomain> <20020311125928 DOT M29574 AT cygbert DOT vinschen DOT de> |
NNTP-Posting-Host: | active42.doc.ic.ac.uk |
Mime-Version: | 1.0 |
X-Trace: | main.gmane.org 1015853910 27808 146.169.50.42 (11 Mar 2002 13:38:30 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Mon, 11 Mar 2002 13:38:30 +0000 (UTC) |
User-Agent: | KNode/0.6.1 |
Corinna Vinschen wrote: > 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. In which case you need to use GlobalMemoryStatus instead. Chris -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |