The SGE TimeLeft utility interrogates the SGE batch system for the current CPU consumed, as well as its limit.

class DIRAC.Core.Utilities.TimeLeft.SGETimeLeft.SGETimeLeft

Bases: object

This is the SGE plugin of the TimeLeft Utility


Standard constructor


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