This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ps command
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 21 May 2007 22:34:50 -0700
- Subject: Re: ps command
- References: <20070522052154.GA396@SALTERDUKE2>
- Reply-to: 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/