Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: cygwin Subject: Re: System Information from Cygwin Message-ID: <20011105102156.A17306@cygbert.vinschen.de> Mail-Followup-To: cygwin References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; 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/