blob: a0c27599b3aea6c771248f4032b65a6268806680 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
SWATCH - The Simple WATCHer and filter
Swatch is designed to monitor system activity. Swatch
requires a configuration file which contains pattern(s) to
look for and action(s) to do when each pattern is found.
The file contains four TAB separated fields:
/pattern/[,/pattern/,...] action[,action,...] [[HH:]MM:]SS start:length
A pattern must be a regular expression which perl(1) will
accept, which is very similar to the regular expressions
which egrep(1) accepts.
The following actions are acceptable:
echo[=mode]
bell[=N]
exec=command
ignore
mail[=address:address:...]
pipe=command
write[=user:user:...]
|