delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00 |
X-Spam-Check-By: | sourceware.org |
X-Eon-Dm: | dm0205 |
X-Eon-Sig: | AQMH8HNJcEEui/hQqQIAAAAB,190d7be3a1e15c4c6f76cadff5df1d42 |
Message-ID: | <4970412C.40204@serv.net> |
Date: | Fri, 16 Jan 2009 00:11:24 -0800 |
From: | L Anderson <lowella AT serv DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Bash doesn't launch the applications directly. |
References: | <gkm1pc$717$1 AT ger DOT gmane DOT org> <496F34BB DOT 6080200 AT byu DOT net> <5a05e0e60901150911i3caa5b66gef6c61d8a6e2ef7d AT mail DOT gmail DOT com> <20090115181901 DOT GA5678 AT ednor DOT casa DOT cgf DOT cx> |
In-Reply-To: | <20090115181901.GA5678@ednor.casa.cgf.cx> |
X-IsSubscribed: | yes |
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 |
Christopher Faylor wrote: > On Thu, Jan 15, 2009 at 12:11:30PM -0500, Dave Steenburgh wrote: >> Well, now I understand why I occasionally see more instances of bash >> in the task manager than I was expecting. However, now I have to ask >> why the shim doesn't appear [plainly] with ps: >> >> 4540 1 4540 4540 0 1003 11:48:08 /usr/bin/bash >> 5656 4540 5656 4756 0 1003 11:48:35 >> /cygdrive/f/WINDOWS/system32/notepad > > Because that's the way ps works. It shows cygwin pids. If you really > want to see the shim process you do have to use the task manager. If you want to get a much better picture of what's happening, do: 0. Task Manager--forgid-da-boud-dit! It's so, "just barely"! 1. Download, install, & start "Process Explorer v11.32" (procexp.exe) from: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx 2. Bring up a Cygwin shell and execute "notepad" -- leave them be. 3. Bring up another Cygwin shell and execute "ps" Now you can see the various Cygwin process'/shim relationships and attributes, graphically, in "Process Explorer" and how the PIDs n WIDS n such from the "ps" listing relate. It's pretty cool! Lowell Anderson -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |