AccountingCacheCommand

AccountingCacheCommand

The AccountingCacheCommand class is a command module that collects command classes to store accounting results in the accounting cache.

class DIRAC.ResourceStatusSystem.Command.AccountingCacheCommand.FailedJobsBySiteSplittedCommand(args=None, clients=None)

Bases: Command

__init__(args=None, clients=None)
doCache()

To be extended/replaced by real commands

doCommand()

Returns failed jobs using the DIRAC accounting system for every site for the last self.args[0] hours

Params:

sites: list of sites (when not given, take every site)

Returns:

doMaster()

To be extended/replaced by real commands

doNew(masterParams=None)

To be extended/replaced by real commands

returnERROR(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

returnSObj(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

class DIRAC.ResourceStatusSystem.Command.AccountingCacheCommand.FailedPilotsByCESplittedCommand(args=None, clients=None)

Bases: Command

__init__(args=None, clients=None)
doCache()

To be extended/replaced by real commands

doCommand()

Returns failed pilots using the DIRAC accounting system for every CE for the last self.args[0] hours

Params:

CEs: list of CEs (when not given, take every CE)

Returns:

doMaster()

To be extended/replaced by real commands

doNew(masterParams=None)

To be extended/replaced by real commands

returnERROR(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

returnSObj(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

class DIRAC.ResourceStatusSystem.Command.AccountingCacheCommand.FailedPilotsBySiteSplittedCommand(args=None, clients=None)

Bases: Command

__init__(args=None, clients=None)
doCache()

To be extended/replaced by real commands

doCommand()

Returns failed jobs using the DIRAC accounting system for every site for the last self.args[0] hours

Params:

sites: list of sites (when not given, take every site)

Returns:

doMaster()

To be extended/replaced by real commands

doNew(masterParams=None)

To be extended/replaced by real commands

returnERROR(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

returnSObj(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

class DIRAC.ResourceStatusSystem.Command.AccountingCacheCommand.RunningJobsBySiteSplittedCommand(args=None, clients=None)

Bases: Command

__init__(args=None, clients=None)
doCache()

To be extended/replaced by real commands

doCommand()

Returns running and runned jobs, querying the WMSHistory for the last self.args[0] hours

Params:

sites: list of sites (when not given, take every sites)

Returns:

doMaster()

To be extended/replaced by real commands

doNew(masterParams=None)

To be extended/replaced by real commands

returnERROR(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

returnSObj(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

class DIRAC.ResourceStatusSystem.Command.AccountingCacheCommand.SuccessfullJobsBySiteSplittedCommand(args=None, clients=None)

Bases: Command

__init__(args=None, clients=None)
doCache()

To be extended/replaced by real commands

doCommand()

Returns successfull jobs using the DIRAC accounting system for every site for the last self.args[0] hours

Params:

sites: list of sites (when not given, take every site)

Returns:

doMaster()

To be extended/replaced by real commands

doNew(masterParams=None)

To be extended/replaced by real commands

returnERROR(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

returnSObj(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

class DIRAC.ResourceStatusSystem.Command.AccountingCacheCommand.SuccessfullPilotsByCESplittedCommand(args=None, clients=None)

Bases: Command

__init__(args=None, clients=None)
doCache()

To be extended/replaced by real commands

doCommand()

Returns successfull pilots using the DIRAC accounting system for every CE for the last self.args[0] hours

Params:

CEs: list of CEs (when not given, take every CE)

Returns:

doMaster()

To be extended/replaced by real commands

doNew(masterParams=None)

To be extended/replaced by real commands

returnERROR(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

returnSObj(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

class DIRAC.ResourceStatusSystem.Command.AccountingCacheCommand.SuccessfullPilotsBySiteSplittedCommand(args=None, clients=None)

Bases: Command

__init__(args=None, clients=None)
doCache()

To be extended/replaced by real commands

doCommand()

Returns successfull pilots using the DIRAC accounting system for every site for the last self.args[0] hours

Params:

sites: list of sites (when not given, take every site)

Returns:

doMaster()

To be extended/replaced by real commands

doNew(masterParams=None)

To be extended/replaced by real commands

returnERROR(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

returnSObj(s_obj)

Overwrites S_ERROR message with command name, much easier to debug