Why require ps -W and kill -f
Karl M
karlm30@hotmail.com
Fri Jan 22 03:14:00 GMT 2010
> From: don
> To: cygwin
> Subject: Why require ps -W and kill -f
> Date: Thu, 21 Jan 2010 18:09:03 -0800
>
> 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? This makes it incompatible with
> Linux/Unix, and such scripts that rely on -e doing this will not work the
> same on Cygwin. What is the point to not showing all other processes on the
> system like Linux/Unix does? This is a silly design and causes headaches
> and frustration for people trying to write scripts that work on cygwin and
> Linux/Unix. Can this be changed please?
>
Hi Don...
Actually, the parameters to ps vary significantly from unix flavor to unix flavor.
For an example of a script that attempts to use ps on a range of OSs, look at
keychain.
Thanks,
...Karl
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/196390706/direct/01/
--
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