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

class DIRAC.Resources.Computing.BatchSystems.TimeLeft.PBSResourceUsage.PBSResourceUsage

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

This is the PBS plugin of the TimeLeft Utility


Standard constructor


Returns S_OK with a dictionary containing the entries CPU, CPULimit, WallClock, WallClockLimit, and Unit for current slot.