X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=ynoRl832RwpTld4jvBEojyv9zZyiYUlW1j5iq1gR8H82SE4o0/DhW
	0ganaMu/iHl7vj9BMxSxuGTL4L/exU694j2jG9sn1HbvAHyy40doSj/rx9N8Zw8g
	+CAoiHNUs3WrFmtORj7QvIJ8nDxjKkazgSBgUV7bTVIrpwiZBZ3+3k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=JChju2WwUkVwFzNaJMgbBXgHACo=; b=UgYc+6SRFkr+UCCjt1Mv+J3a2JiT
	5osHhFTMY3MwZR6WgGjbx+4aBIjGBG7NKHwIhdPwoH0UFNcsfqt9otKwNH2+lWNx
	tJmIf3g68PIkc6G1qENkS9A+ePoltdx5le5FXXduEp32pY+Ukfy1amjYMDR8jso5
	KGenF1oYgrEofuQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
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
Date: Tue, 12 Mar 2019 18:39:01 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
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)

--ait9zxY0jh7rFn8/
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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"

-----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/--
