emfacilities.protocols.protocol_monitor_system module

class emfacilities.protocols.protocol_monitor_system.MonitorSystem(protocols, influx=False, **kwargs)[source]

Bases: emfacilities.protocols.protocol_monitor.Monitor

This will will be monitoring a System protocol. It will internally handle a database to store produced system values.

getData(lastId=-1)[source]
getDataHtml()[source]

Fill a dictionary for each label in self.labeldisk. The key is the label name. The value a list with data read from the database

getDataInflux(lastId=-1)[source]

get resulset as a a list of dictionaries

getLabels()[source]
classmethod getNifsNameList()[source]
initLoop()[source]

To be defined in subclasses.

mega = 1048576.0
step()[source]

To be defined in subclasses.

warning(msg)[source]
class emfacilities.protocols.protocol_monitor_system.ProtMonitorSystem(**kwargs)[source]

Bases: emfacilities.protocols.protocol_monitor.ProtMonitor

check CPU, mem and IO usage.

createMonitor()[source]
monitorStep()[source]
emfacilities.protocols.protocol_monitor_system.initGPU()[source]