diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /src/pmie/examples/upm.03 | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'src/pmie/examples/upm.03')
-rw-r--r-- | src/pmie/examples/upm.03 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pmie/examples/upm.03 b/src/pmie/examples/upm.03 new file mode 100644 index 0000000..ff7501e --- /dev/null +++ b/src/pmie/examples/upm.03 @@ -0,0 +1,8 @@ +// +// Refine the preceding rule to apply only between the hours of 9am and 5pm, +// and to require that just 3 of the four samples exceed the threshold +// +$hour >= 9 && $hour <= 17 && some_inst 75 %_sample + disk.dev.total @0..3 > 40 count/sec + -> print "disk busy for 20 sec" & + shell 5 min "dkvis"; |