delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/12/13:39:15

X-Recipient: archive-cygwin AT delorie DOT 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 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
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 AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Privilege(s) needed to run top command
Message-ID: <20190312173901.GN3785@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1552323028120-0 DOT post AT n5 DOT nabble DOT com> <87r2bd4003 DOT fsf AT Rainer DOT invalid> <1552383712993-0 DOT post AT n5 DOT nabble DOT com> <20190312111411 DOT GH3785 AT calimero DOT vinschen DOT de> <1552391701449-0 DOT post AT n5 DOT nabble DOT com> <167740c9afacd1bd4f914cae2e19eb01 AT smtp-cloud9 DOT xs4all DOT net> <1552405511657-0 DOT post AT n5 DOT nabble DOT com> <20190312164725 DOT GK3785 AT calimero DOT vinschen DOT de> <1552410026803-0 DOT post AT n5 DOT nabble DOT com> <20190312171339 DOT GM3785 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
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/--

- Raw text -


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