X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 29 Apr 2009 10:47:28 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: ps -ef difference linux/cygwin (arguments) Message-ID: <20090429144728.GB12904@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20090429081129 DOT GA44103 AT xs4all DOT nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090429081129.GA44103@xs4all.nl> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/