This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Why require ps -W and kill -f


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]