File: full.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 (15 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $Id: full.cnf,v 1.3 2006/03/10 12:47:37 rockyb Exp $
# Test to see we can match on all of the processes, not 
# just the ones for our account.

# On a Unix-like system where there always is a pid 1 - init.
# On there is a ppid of 1.
[.]
  occurs  = first-trigger
  trigger = $ppid == 1
  action  = echo "ok 1"

[.?]
  occurs  = every
  trigger = $pid == 1
  action  = echo "ok 2"