MJFResourceUsage

The Machine/Job Features TimeLeft utility interrogates the MJF values for the current CPU and Wallclock consumed, as well as their limits.

class DIRAC.Resources.Computing.BatchSystems.TimeLeft.MJFResourceUsage.MJFResourceUsage

Bases: DIRAC.Resources.Computing.BatchSystems.TimeLeft.ResourceUsage.ResourceUsage

This is the MJF plugin of the TimeLeft Utility

__init__()

Standard constructor

getResourceUsage()

Returns a dictionary containing CPUConsumed, CPULimit, WallClockConsumed and WallClockLimit for current slot. All values returned in seconds.