Monitor processes
Usage: $cf = System_ProcWatch_Config::fromXmlFile('/etc/procwatch.xml'); $pw = &new System_ProcWatch($cf); $pw->run();
$cf = System_ProcWatch_Config::fromXmlFile('/etc/procwatch.xml'); $pw = &new System_ProcWatch($cf); $pw->run();
[line 60]
object System_ProcWatch __construct( string $config)
object System_ProcWatch System_ProcWatch( array $config)
void addConfig( array $config)
void daemon( int $interval, [string $ps_args = 'aux'])
void run( [string $ps_args = 'aux'])
void setConfig( array $config)
string _getPids( string $job)