delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/05/04:22:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 5 Nov 2001 10:21:56 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: System Information from Cygwin
Message-ID: <20011105102156.A17306@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <OJEKLJMDIMFOIAMJJNNCMEJMCDAA DOT piyush AT acm DOT org>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <OJEKLJMDIMFOIAMJJNNCMEJMCDAA.piyush@acm.org>; from piyush@acm.org on Mon, Nov 05, 2001 at 02:59:14AM -0500

On Mon, Nov 05, 2001 at 02:59:14AM -0500, Piyush Kumar wrote:
> 
> Is there some code that can give me the system statistics on which 
> cygwin is running! I especially need Memory Size, Cache size, CPU Speed,
> Disk Size, Free Space on Disk, ...
> 
> Anyone knows where I can cut out code to do such statistics from my code???

You can use the appropriate native Win32 calls.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019