More details about the tmux 2.0 regression

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jun 8 17:18:00 GMT 2015


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?
> > 
> > That should work, it just needs implementing.
> > 
> > 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...
> 
> 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üstreamed a patch for a Perl distribution
> 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 /proc
> 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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150608/6ea1e40e/attachment.sig>


More information about the Cygwin mailing list