From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84494 invoked by alias); 12 Mar 2019 17:39:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 84484 invoked by uid 89); 12 Mar 2019 17:39:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-102.3 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=broker, Vista, vista, Sir X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 12 Mar 2019 17:39:04 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M6H7o-1hAN4P3Quu-006iJH for ; Tue, 12 Mar 2019 18:39:01 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 322B4A80733; Tue, 12 Mar 2019 18:39:01 +0100 (CET) Date: Tue, 12 Mar 2019 17:39:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Privilege(s) needed to run top command Message-ID: <20190312173901.GN3785@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <1552323028120-0.post@n5.nabble.com> <87r2bd4003.fsf@Rainer.invalid> <1552383712993-0.post@n5.nabble.com> <20190312111411.GH3785@calimero.vinschen.de> <1552391701449-0.post@n5.nabble.com> <167740c9afacd1bd4f914cae2e19eb01@smtp-cloud9.xs4all.net> <1552405511657-0.post@n5.nabble.com> <20190312164725.GK3785@calimero.vinschen.de> <1552410026803-0.post@n5.nabble.com> <20190312171339.GM3785@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ait9zxY0jh7rFn8/" Content-Disposition: inline In-Reply-To: <20190312171339.GM3785@calimero.vinschen.de> User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-03/txt/msg00302.txt.bz2 --ait9zxY0jh7rFn8/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1355 On Mar 12 18:13, Corinna Vinschen wrote: > On Mar 12 10:00, jwang wrote: > > Sir, >=20 > Nope. >=20 > > I download, this morning: > > 3132 -rw-r--r-- 1 james None 3207004 Mar 12 10:50 cygwin-20190312.tar.= xz > >=20 > > tar -xvf cygwin-20190312.tar.xz >=20 > Where to? You have to install cygwin1.dll in place of the other > cygwin1.dll while having stopped all Cygwin processes. Just unpacking > with tar won't do anything useful. >=20 > > then I did:=20 > >=20 > > usr/bin/ps -W|grep httpd >=20 > This is really not helpful as far as bug reports go. Drop the > grep, drop the -W. Just call `ps -e' or `procps -e' or `top' > and see what's visible. Do you see all CYgwin processes? If so, fine. > If not, please report details. Just don't expect top's load average > values to make any sense if you're running under a non-privileged > user account. They will be always 0. Btw., `ps -W' only shows non-Cygwin processes visible inside the current user session. This session isolation has been introduced with Windows 2003 and since Vista even the console interactive session is running in its own session distinct from session 0. Task Manager doesn't suffer this problem, but it's not clear to me why. Perhaps it connects to a broker service which gives task manager access to all processes. Corinna --=20 Corinna Vinschen Cygwin Maintainer --ait9zxY0jh7rFn8/ Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyH7rQACgkQ9TYGna5E T6BfqA//cFarh+/nEQV+WmK6ltZRVuAni7+XVOwIyK/v6C0Ujfu45tj3FYMprnT7 wzF9gh0NA4DMiSKbj5GCYdok1PxJ13EIqeyn4Ty2tln1odYyo9wt+Qr5eYZH5opB 7NOtKHzBDF99+J9z7JPrnGWAI8AS5ZezK8HFl1RsTs2xGuo+TtD9EOBRb3NEW7fq KXi7t6AQpOOsEhLXw+HMpS9EQd22rKTFy3Gl2OUFh35vFEClGCu4+6sNmsdPZpkN fQkLhSE2+8RLJLT1F1Wcu1m5ahZb18OT+XzIi222sZccQaMt0NwE+jnfqNgekTY/ 0sR5xqWv1RdttFHaZH1O3bIQSSLtYB1BKHeUmmKSzZk3cXEac0MahmDQ/MoNbwbo 85y0kqtXdeXiRnooLG3RN4yOtZXvCTYtnZvXPhO+GUgQ+WIwmfy8Je9OdRyDpjB6 8Dn1d+XZApqXXL2nWdzmtr8gXYA0hCxA7H1TGZ1MqbFQFYOkmEbzwKDxkTuB22Zc Gi4RRTWouKtvJKA2rWL2TuwlYRXXziUTikyLaZzROd6cAF+2KruxoNw1qDgC12Dr oIurxKjIbU1wHLaoXuo4aKkVBukQAR/HRyWx+//e2qakOmx4g7rSttg+F2CvnYmU deG3XoYRA2X7nj9AH753fIwcJqg+rQFBOT7Oj9cMjlcw1+AdDVo= =PGXX -----END PGP SIGNATURE----- --ait9zxY0jh7rFn8/--