delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/21/21:20:48

X-Recipient: archive-cygwin AT delorie DOT 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 AT hotmail DOT com>
To: <cygwin AT cygwin DOT 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>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019