X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,SPF_HELO_PASS,TW_VM,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: Re: uptime not reporting CPU usage on Windows 7 (Possibly only when running in VMWare)
Date: Thu, 30 Dec 2010 14:23:23 -0500
Lines: 24
Message-ID: <ifim7c$6df$1@dough.gmane.org>
References: <ifhu4n$kl5$1@dough.gmane.org> <4D1CA8C0.9020806@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9pre) Gecko/20100821 Lightning/1.0b2 Lanikai/3.1.3pre
In-Reply-To: <4D1CA8C0.9020806@redhat.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com



On 12/30/2010 10:44 AM, Eric Blake wrote:
> On 12/30/2010 05:32 AM, Andrew DeFaria wrote:
>>   Whenever I run uptime I see the load avgs all as 0.00:
>>
>> $ uptime
>>   07:29:15 up 1 day, 20:22,  3 users,  load average: 0.00, 0.00, 0.00
>>
>> Note that I'm running Cygwin 1.7.7 on Windows 7. Note that this is
>> Windows 7 running in a VMWare VM on my Ubuntu laptop. I don't have
>> Windows anymore - I only have Windows in a VM. The Ubuntu laptop running
>> the VM reports busyness via uptime on the Linux side and I can see
>> vmplayer taking up CPU. But it's as if no CPU usage or load is present
>> in the Windows 7 guest at all.
>>
>> Can somebody confirm or deny this?
> Windows does not provide this information, therefore cygwin1.dll cannot
> provide it in the syscalls that uptime uses to determine this information
Well that sucks. Surely Windows has some means of reporting how busy the 
system is. uptime should use that.
-- 
Andrew DeFaria <http://defaria.com>
Why is "abbreviation" such a long word?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

