X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 	tests=AWL,BAYES_05,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <COL102-W41CFD48EF22CA750E90ABB5620@phx.gbl>
From: Karl M <karlm30@hotmail.com>
To: <cygwin@cygwin.com>
Subject: RE: Why require ps -W and kill -f
Date: Thu, 21 Jan 2010 18:20:35 -0800
In-Reply-To: <050f01ca9b07$df859370$9e90ba50$@com>
References: <050f01ca9b07$df859370$9e90ba50$@com>
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


> 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 =93every process running on the system=94.  This c=
ommand
> 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
=20=09=09=20=09=20=20=20=09=09=20=20
_________________________________________________________________
Hotmail: Trusted email with Microsoft=92s 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

