delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/08/13:18:37

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=kTDFirtMjCRfX7/VND1GfxgsFZWJDatxxekZOTkMcgcy/vWLI4CL6
oQWlh7BeArWEWXV7X7Yuq8uq9QUhXDG55KSpQYx+Fr1dVpzjNv5KpUpgyc9pLbvf
ylKvY5zSvZOlEQm44L/I0Ku/BMWQgFGb/u/O8SNYRJUyr9wOiT+YaM=
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=tvDrflQVn79QjXP2O5a9B0ztjt8=; b=XtcQXAUE9kFAhY4n8cr7nawFlhg3
LBMq9SiML0Ao82L0ejac2SIezkdH+ababc5cMdW9sBbpaXeLZ/n9Xhkl48udvt/p
m1Sb7wbhNhw9SiwB5dEu10HYpJRtffoPuXPFW//RXeJapEsw9FPxLgq83o9yEC8M
n6QsjZR8ZRiLVd8=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 8 Jun 2015 19:18:13 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: More details about the tmux 2.0 regression
Message-ID: <20150608171813.GA15150@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAJ1KOAidxNn99KCUNHCbGCvOc=51vz8uzo5zag_0FEYj-yyFPQ AT mail DOT gmail DOT com> <20150608124159 DOT GE3005 AT calimero DOT vinschen DOT de> <20150608132103 DOT GJ3005 AT calimero DOT vinschen DOT de> <CAJ1KOAiz8rV33jmCuLHj9pkLBD+3w3N+7+eEQ6cZwScAkcsNyg AT mail DOT gmail DOT com> <CAJ1KOAh5Sqy2Zhag=zddULcZFTa759uyr4uXY_7QGhv85w_2Og AT mail DOT gmail DOT com> <20150608154334 DOT GA13266 AT calimero DOT vinschen DOT de> <loom DOT 20150608T180517-501 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20150608T180517-501@post.gmane.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Jun  8 16:10, Achim Gratz wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > > One question though, would it be possible to return executable name
> > > instead of <defunct> for non-Cygwin processes?
> >=20
> > That should work, it just needs implementing.
> >=20
> > However, I'm just mulling over another idea.  It's probably even
> > possible to return the comand line and cwd, as long as the calling
> > process (cat) has permission to open a handle to the requested process.
> > I'll toy around with this a bit...
>=20
> Does that mean that top would finally be able to show Windows
> processes as well?

Looks like it.  My patch seems to work nicely, it just needs some polish.

> On another front, I've recently u=C3=BCstreamed a patch for a Perl distri=
bution
> to use /proc/pid/statm because ps from Cygwin doesn't implement a switch =
to
> show the vmsize information.  The maintainer of said distribution said he
> was expecting a BSD ps before anything else and didn't like the Linux /pr=
oc
> interface a lot, but it seems we might want to move to a more modern ps
> implementation (Linux ps uses /proc under the hood, AFAIK) when the
> underlying functionality in Cygwin has that covered.

Use procps?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--0F1p//8PRICkK4MW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVdc5VAAoJEPU2Bp2uRE+g+xEP/3iBL9bFNTtoXDAyQFZzF2Jq
ZcaYfJdmrl4Sk1xxzrBgDoViU6/oU4CsHaI4ROmtTV2foBEZxvwEIDHhOQA1Y3gS
MsySiXnPF3Y3CXOuYz/uRi9k/Pvf8ZY8RQaPaVghn2Kq7byletecjFpRUI37nxXv
FZVans7EVGaAPfC1dThpqLfam/t5y5WDH3VMZkCJnTqU+FMRuMCBRX2TQ4CvlZbj
Kx+CbApHG8EAO7nhXmq4O+ar84qvcHzJsaAeakTIr4pQCXy/hkDBC0We0QEQRWml
8OugYfkMs8drnHx2sqHSdr+CoHZW0FvljY0Q2pzIXfE6EFUCZpxSYp289fZdEY3e
WeyOdze5jY0LI8MeyhVMaT8Q/DsWaPXv7ZNS/HOpnSTCWfOdfPKbKObQ2HQ/OXGJ
sD7eWqfw1VlWAd4sSBn3PwrwJ+Sc3NFECToLWbPANX31u4ki78J1QeIPHtlm8U7W
QcsOlYZbfFmaUh7IiUvjpCmu0sXHaivoyLs/X6wgAsz8LnwErCww/O2d2M9px0rZ
Y/ki0gJV0SUHK0WvVjloXytRkEujqmcToEWgzTBOhEsUqUWLfnF4n71oavVZga8J
J4AZHdEPQhpjhRoNb3XlBF9rYC0o7vS0pUBLECQ3B0HxiN21nlY0BK+IqWaAoJPg
P1n7HquUKhZDxVMm4Jv+
=ugUL
-----END PGP SIGNATURE-----

--0F1p//8PRICkK4MW--

- Raw text -


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