how to find the amount of RAM

Corinna Vinschen cygwin@cygwin.com
Mon Mar 11 05:38:00 GMT 2002


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/



More information about the Cygwin mailing list