delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/22/01:34:19

X-Spam-Check-By: sourceware.org
Message-ID: <465280FA.A3AEB69A@dessent.net>
Date: Mon, 21 May 2007 22:34:50 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ps command
References: <20070522052154 DOT GA396 AT SALTERDUKE2>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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'".

By the way this very same question came up just the other week.

Brian

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

- Raw text -


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