File: args.cnf

package info (click to toggle)
ps-watcher 1.08-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 772 kB
  • sloc: sh: 2,907; perl: 1,281; makefile: 104
file content (13 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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