WatchdogFactory

The Watchdog Factory instantiates a given Watchdog based on a quick determination of the local operating system.

class DIRAC.WorkloadManagementSystem.JobWrapper.WatchdogFactory.WatchdogFactory

Bases: object

__init__()

Standard constructor

getWatchdog(pid, exeThread, spObject, jobCPUTime, memoryLimit, processors=1, jobArgs={})

This method returns the CE instance corresponding to the local OS. The Linux watchdog is returned by default.