delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/30/10:44:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_VM,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D1CA8C0.9020806@redhat.com>
Date: Thu, 30 Dec 2010 08:44:00 -0700
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: uptime not reporting CPU usage on Windows 7 (Possibly only when running in VMWare)
References: <ifhu4n$kl5$1 AT dough DOT gmane DOT org>
In-Reply-To: <ifhu4n$kl5$1@dough.gmane.org>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--------------enig2505163F92458B9B43A8D032
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 12/30/2010 05:32 AM, Andrew DeFaria wrote:
>  Whenever I run uptime I see the load avgs all as 0.00:
>=20
> $ uptime
>  07:29:15 up 1 day, 20:22,  3 users,  load average: 0.00, 0.00, 0.00
>=20
> 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.
>=20
> 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.

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig2505163F92458B9B43A8D032
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJNHKjAAAoJEKeha0olJ0NqpUAH/RCLRheyiuGiVqU1JFsF9sJf
9kgqx3mEMwTq06yEOVzomcaDN9WBb0iP9G5/lYNuhUKYSmXmby5t6H78ut207FDO
4cRXdixIJJkpUPv6rPODFJAAAv8SxPXZrNwsoQggs1NC+R/tLAg/ManhMm7lgkc4
hLFN1h+HesXqPDoneaY7nYGRhT5vWbEheW27AmIuCEbU1QRtL4/xO+xwC5fD8zpr
/Vore9kcs/NNG9L0v/cqgqSCvRZ3mCN06Yyid3xqQNxr5kzRW5P3wNBj32Z8mO0e
iWZcDWXDsxNAD2o6sOZSKK9kOSGOsEbW6P3EDcgBdGcI2xGu31N4EIbmyAH0qRE=
=9RyB
-----END PGP SIGNATURE-----

--------------enig2505163F92458B9B43A8D032--

- Raw text -


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