This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More details about the tmux 2.0 regression

On Jun  8 16:10, Achim Gratz wrote:
> Corinna Vinschen <corinna-cygwin <at>> 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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpMQwHDPrXGF.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]