PBSTimeLeft

The PBS TimeLeft utility interrogates the PBS batch system for the current CPU and Wallclock consumed, as well as their limits.

class DIRAC.Core.Utilities.TimeLeft.PBSTimeLeft.PBSTimeLeft

Bases: object

__init__()

Standard constructor

getResourceUsage()

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