This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Why require ps -W and kill -f
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: don at beusee dot com, cygwin at cygwin dot com
- Date: Fri, 22 Jan 2010 05:02:03 +0000
- Subject: Re: Why require ps -W and kill -f
- References: <050f01ca9b07$df859370$9e90ba50$@com>
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