X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=lNREbtHDBV6Z/p2LMNCJoiMrlxhTIojRMMfKVRTEmT0
	YRndvMM3y/fKLn4TiNH5+EKCBfHY66eLpM1B8P/LnC6c23ZPGadaRryULDNDWRQ9
	REJ1NbIqX/gAnaRgooob210GXxrgIxPnFKX3Lh49AH5MG6/IbSjvwtUlvfpW0aqg
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=yiye5AjEkgRLc39CoSrjSNb09oQ=; b=Vs8GeqBLr7f4VzXcm
	6nhva6ajVGwZzTu/CxKdFuJ2qpCvPnWLeUlI+Zo/5OBaQyZFUscfjGn4ELZ/hSO1
	hFAFu3MtJE5IFD4CW3FqdyktzR6Y7QrVElPRVcsbB4BcXNfM8t0cBQPZelpQv8Qi
	IK3T5+3lmA284T+JYef51PhDkY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lb0-f175.google.com
X-Received: by 10.152.36.73 with SMTP id o9mr10032304laj.30.1395832713881;        Wed, 26 Mar 2014 04:18:33 -0700 (PDT)
Message-ID: <5332B784.5040403@googlemail.com>
Date: Wed, 26 Mar 2014 12:18:28 +0100
From: m0viefreak <m0viefreak.cm@googlemail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Question about the ps command, missing option -o to format the output
References: <DDE9CDBA2B37C246B69D8E4C96647D3D01AC9C05C9@DEFFMMBX102.elabs.int>
In-Reply-To: <DDE9CDBA2B37C246B69D8E4C96647D3D01AC9C05C9@DEFFMMBX102.elabs.int>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

> I have searched the man page and the Cygwin projects, but did not found a way to get
> this working.

Cygwin uses a custom ps program that can also handle windows processes
but which does not support all those options.

The version you are looking for is available from the procps package.
The ps binary is also named "procps".

That one won't handle windows processes, but since you only seem to care
about cygwin processes in the script you are writing that should work
just fine.

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

