X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Date: Wed, 29 Apr 2009 10:52:27 -0400 (EDT)
From: William Sutton <william@trilug.org>
To: cygwin@cygwin.com
Subject: Re: ps -ef difference linux/cygwin (arguments)
In-Reply-To: <20090429144728.GB12904@ednor.casa.cgf.cx>
Message-ID: <alpine.DEB.1.00.0904291050430.14823@pilot.trilug.org>
References: <20090429081129.GA44103@xs4all.nl> <20090429144728.GB12904@ednor.casa.cgf.cx>
User-Agent: Alpine 1.00 (DEB 882 2007-12-20)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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

That's a nice answer for a command that works, but, speaking for myself 
and a lot of other people who use cygwin for the UNIX-like utilities (like 
the OP), we shouldn't have to remember one-off command names to get the 
same functionality we're used to in *NIX.  Perhaps ps could be fixed to 
include the proper information instead if either having users languish in 
ignorance or be told to use some other command.

William Sutton

On Wed, 29 Apr 2009, Christopher Faylor wrote:

> On Wed, Apr 29, 2009 at 10:11:29AM +0200, jurriaan wrote:
>> If I run execute some sh -c "sleep 180" & commands on cygwin
>> (CYGWIN_NT-5.2 1.7.0(0.210/5/3) and then run ps -ef, I get a lot of
>>
>> /usr/bin/sh
>>
>> processes.
>>
>> If I run ps -ef on my linux (2.6.25.17), I get
>>
>> sh -c sleep 180
>> sh -c sleep 180
>> sh -c sleep 180
>>
>> Is there any way to get the commandline arguments in the ps output on
>> cygwin? I see theres /proc/XXX/cmdline that contains the correct
>> information, but I'd love to be able to see it in ps as well.
>
> Use "procps" rather than "ps".
>
> cgf
>
> --
> 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/

