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: ps -ef difference linux/cygwin (arguments)




William Sutton

On Wed, 29 Apr 2009, Mark J. Reed wrote:

On Wed, Apr 29, 2009 at 11:13 AM, William Sutton
Let's try this one again, and maybe we can be civil instead of
condescending and insulting?

Ahh. You must be new here. :)

I've been using Cygwin for ~ 5 years and monitoring the list for ~ 3 years, so "new" might be relative. I can't say I've seen someone insulted quite so blatantly in that time :-/



This has come up before; an archive search might save some repetition. But if I understand the argument properly, it's a question of compatibility with scripts that expect the Cygwin ps to behave the way it does.

Perhaps I should have searched the archive...



The ps command has traditionally differed widely from implementation to implementation - the most glaring example being the BSD style options (ps auxgww) vs the SysV style (ps -elf). The modern Linux command attempts to integrate both styles, plus a third innovated by the GNU project, but the Cygwin ps command was already established as its own animal by the time that happened. (It also predates Cygwin's branding as specifically Linuxlike as opposed to generically Unixlike.)

So there are configure scripts, etc. that check to see if the system
is Cygwin and expect ps to behave in a certain way when it is.  Making
it act like Linux ps instead would break things, possibly lots of
things, possibly unmaintained things.

So instead, the procps(1) command is provided as an alternative for
users who want a Linuxlike ps command on Cygwin.

Thank you for a reasonable explanation :-)



-- Mark J. Reed <markjreed@gmail.com>

--
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/



-- 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/


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