ps -fC swatch

Mike - EMAIL IGNORED m_d_berger_1900 at yahoo.com
Sat Jul 28 01:10:00 UTC 2007


On Fri, 27 Jul 2007 16:52:19 -0400, Mike - EMAIL IGNORED wrote:

> On FC4, I have two swatch daemons
> running, as confirmed with:
>    ps -ef | grep swatch
> but
>    ps -fC swatch
> doesn't return anything.
> Why is this?
> 
> Thanks,
> Mike.

I note in addition that:
   ps -e | grep swatch
does not return the swatch processes,
while, for example:
   ps -e | grep httpd
does return the httpd processes.

>From man ps:

  -C cmdlist    Select by command name.
                This selects the processes whose executable name is given in
                cmdlist.

This suggests that swatch is not an "executable" notwithstanding
that in ps -ef it appears in the same position in the line as
httpd, which is an executable.

I remain mystified.

Mike.





More information about the fedora-list mailing list