ps-watcher/tests/args.cnf

14 lines
481 B
Plaintext
Raw Normal View History

2006-11-03 21:35:23 +00:00
# Scripts on some OS's don't show as the script name as the command name.
# Rather the name of the interpreter is listed (e.g. bash or perl)
# Here's how you can match against a script.
# Look for my processes: ps-watcher.
[perl]
trigger = \$args =~ /ps-watcher --log/
action = echo "ok 1"
occurs = every
# On BSD/OS the name of the script rather than the interpreter is show.
[ps-watcher]
trigger = \$args =~ /ps-watcher --log/
action = echo "ok 1"
occurs = every