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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=j/bCnmww0kYHBkqOD0v5lEveTU0c58CUSw5tCjR5Dd203OqZFI+kd bEOxTY1Hl5eul12Ze7AufMuAIE5sz7Aw6oqbeRUEGfUoeKBftjpiE8yblsFmyrsC c1n+AXjB7l37ftmQ+ZC6kHdYSnh1nZkN+Gj1j06xLHuZX1Tjw5XKfk= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=AJd4tFbyNA8hz/33nMLzAVvnfn4=; b=ArwHlqhYmtrbB1aqCbiFYSNj4C2M qdop5vUCzirAxxZqXYmd/UqJkKwT5fJvzIIvonc6pW0Agzx8ZDnO0DwG+DThhaU1 xnQSODYi67c5Cm9yglNRYnW9QwOBk/TazZI6d6Py8OGv6XrgWHNvflvx6eSiAWW0 tPraEtM1BxoE64g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.0 required=5.0 tests=AWL,BASE64_LENGTH_79_INF,BAYES_20,FSL_HELO_BARE_IP_2,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: More details about the tmux 2.0 regression Date: Mon, 8 Jun 2015 16:10:20 +0000 (UTC) Lines: 1 Message-ID: References: <20150608124159 DOT GE3005 AT calimero DOT vinschen DOT de> <20150608132103 DOT GJ3005 AT calimero DOT vinschen DOT de> <20150608154334 DOT GA13266 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t58GAkq9016207 Corinna Vinschen cygwin.com> writes: > > One question though, would it be possible to return executable name > > instead of 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? 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. Regards, Achim