X-Spam-Check-By: sourceware.org Date: Tue, 22 May 2007 18:54:51 +1000 From: Brian Salter-Duke To: cygwin AT cygwin DOT com Subject: Re: ps command Message-ID: <20070522085451.GA400@SALTERDUKE2> Reply-To: Brian Salter-Duke Mail-Followup-To: cygwin AT cygwin DOT com References: <20070522052154 DOT GA396 AT SALTERDUKE2> <465280FA DOT A3AEB69A AT dessent DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <465280FA.A3AEB69A@dessent.net> User-Agent: Mutt/1.5.15 (2007-04-06) X-IsSubscribed: yes 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 Mon, May 21, 2007 at 10:34:50PM -0700, Brian Dessent wrote: > 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'". Brilliant. That solves my problem and the package is now working fime on cygwin and linux. > By the way this very same question came up just the other week. I have been off the list for a long while until recenty. I guess procps is new compared with when I asked about this before years ago. Thanks, Brian. > 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/ > -- Brian Salter-Duke (Brian Duke) b_duke AT bigbond DOT net DOT au Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ. -- 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/