delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/08/04:52:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <418F41E0.2000508@x-ray.at>
Date: Mon, 08 Nov 2004 10:52:32 +0100
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: getloadavg(3)
X-IsSubscribed: yes

Anyone saw a implementation similar to getloadavg() on windows?

At least uptime, top, emacs, xemacs and make use the noop on windows, 
and some other apps defined their private loadavg() function 
app-specific, which we cannot use.

I cannot believe that no-one created a similar function for windows yet. 
At least sound and gaming need that for sure.
And the Win API provides similar beasts for sure, they just have to be 
wrapped up.

I don't want to port the whole "sysstat" package, no iowait stats, just 
a basic getloadavg() for the CPU business would be fine.

http://www.wilsonmar.com/1perfmon.htm#TaskManager
"The load average (LA) is the average number of processes (the sum of 
the run queue length and the number of jobs currently running) that are 
ready to run, but are waiting for access to a busy CPU."
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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