perun.backend.psutil

psutil backend.

Attributes

log

Classes

PSUTILBackend

PSUTIL Backend class.

Module Contents

perun.backend.psutil.log
class perun.backend.psutil.PSUTILBackend

Bases: perun.backend.backend.Backend

PSUTIL Backend class.

id: str = 'psutil'
name: str = 'PSUTIL'
description: str = 'Obtain hardware data from psutil'
setup()

Configure psutil backend.

close()

Close backend.

availableSensors() Dict[str, Tuple]

Return list of visible devices.

Returns

Dict[str, Tuple]

Dictionary with device ids and measurement unit.

_getCallback(device: str) Callable[[], numpy.number]

Return measuring function for each device.

getSensors(deviceList: Set[str]) List[perun.data_model.sensor.Sensor]

Return desired device objects.