Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927 MIME-Version: 1.0 To: cygwin Subject: getloadavg(3) Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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/