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/