Andrew Hall wrote:
> How do I say kill the mount process and only the process named "mount"
> and not mountd, etc?
Something like "mount$" or "mount $" will work. Try something like
ps auxw | cat -vet
to determine what the process listing on your system will look like to
cfagent. Personally, such a general regex scares me. It might also kill
user processes such as "vi mount.c" (probably not a good thing).
To guard against that sort of thing, I tend to use regular expressions
like "^root .* mount$" in my cfengine files.
Best,
Brendan
--
Senior System Administrator
The University of Chicago
Department of Computer Science
http://www.cs.uchicago.edu/people/brendan
http://praksys.blogspot.com/
_______________________________________________
Help-cfengine mailing list
[email protected]
http://cfengine.org/mailman/listinfo/help-cfengine