Why require ps -W and kill -f

Andy Koppe andy.koppe@gmail.com
Fri Jan 22 06:43:00 GMT 2010


2010/1/22 Don Beusee:
> ps -e on Unix displays “every process running on the system”.  This command
> doesn't do that under cygwin.  Why should it be necessary to supply -W to
> see all processes running on the system?

Because those processes are not Cygwin/Unix processes. In particular,
they do not have Cygwin process IDs. Cygwin PIDs and Windows PIDs are
different concepts (even though they often coincide), and that's
because multiple windows processes can be needed to emulate one Cygwin
process. For example, when calling exec(), the new program is
conceptually executed in the same Cygwin process, but actually a new
Windows process has to be created since Windows doesn't allow a
process to change executable.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list