emfacilities.protocols.protocol_monitor_ctf module

class emfacilities.protocols.protocol_monitor_ctf.MonitorCTF(protocol, influx=False, **kwargs)[source]

Bases: emfacilities.protocols.protocol_monitor.Monitor

This will will be monitoring a CTF estimation protocol. It will internally handle a database to store produced CTF 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]

return query as a list of dictionaries

initLoop()[source]

To be defined in subclasses.

step()[source]

To be defined in subclasses.

warning(msg)[source]
class emfacilities.protocols.protocol_monitor_ctf.ProtMonitorCTF(**kwargs)[source]

Bases: emfacilities.protocols.protocol_monitor.ProtMonitor

check CPU, mem and IO usage.

createMonitor()[source]
monitorStep()[source]