X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: ps command Date: Tue, 22 May 2007 12:29:04 +0100 Lines: 16 Message-ID: References: <20070522052154 DOT GA396 AT SALTERDUKE2> <465280FA DOT A3AEB69A AT dessent DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 * Brian Dessent (Mon, 21 May 2007 22:34:50 -0700) > Brian Salter-Duke wrote: > > because qseek is a perl script. Is there any way that I can get output > > of the running processes that will include the text, 'qseek'? Or can > > anyone suggest a work around. I need a script to be able to find out > > whether qseek is running, in order to start it if it is not, and leave > > it running if it is. I am trying again to get this code working > > correctly on cygwin as well as linux. > > Use procps. It's much more capable, e.g. "procps -f". I personally use > something resembling "alias ps='procps aux --forest'". The Cygwin ps allows to watch Windows processes also (with -W). Is that possible for procps, too? Thorsten -- 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/