// this pmie configuration files assumes the hotproc PMDA has been // configured with the "general.conf" configuration file, and thus // is using as predicate something like: // // cpuburn > 0.95 || iodemand > 500 || syscalls > 100 // || iowait > 0.33 || schedwait > 0.25 // delta = 60sec; // change this if the hotproc PMDA refresh interval // is different to the default of 60 seconds some_inst 100 * hotproc.psinfo.time > 95 -> print "\nCPU: %v% busy %i"; io_bytes = "hotproc.accounting.counts"; some_inst (($io_bytes.chr + $io_bytes.chw) / 1024) > 500 -> print "\nI/O: %v Kbyte/sec %i"; some_inst hotproc.psusage.sysc > 100 -> print "\nsyscall: %v call/sec %i"; io_timers = "hotproc.accounting.timers"; some_inst 100 * ( $io_timers.bwtime + $io_timers.rwtime ) > 33 -> print "\nI/O: %v% waiting %i"; some_inst 100 * $io_timers.qwtime > 25 -> print "\nCPU: %v% runq waiting %i";