diff options
Diffstat (limited to 'src/pmie/examples/upm.09')
-rw-r--r-- | src/pmie/examples/upm.09 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pmie/examples/upm.09 b/src/pmie/examples/upm.09 new file mode 100644 index 0000000..e2f12cf --- /dev/null +++ b/src/pmie/examples/upm.09 @@ -0,0 +1,11 @@ +// Busy disk? + +delta = 20 sec; // force evaluation once every 20 seconds from here on + +// If any disk is performing more than 60 I/Os per second, then +// print a message to standard output and launch dkvis(1) +// +some_inst + disk.dev.total > 60 count/sec + -> print "disk busy for 20 sec" "%v IOPS %i@%h" & + shell 5 min "dkvis"; |