perun.backend.psutil

psutil backend.

Attributes

log

Classes

PSUTILBackend

PSUTIL Backend class.

Module Contents

perun.backend.psutil.log[source]
class perun.backend.psutil.PSUTILBackend[source]

Bases: perun.backend.backend.Backend

PSUTIL Backend class.

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

Configure psutil backend.

close() None[source]

Close backend.

availableSensors() Dict[str, Tuple][source]

Return list of visible devices.

Returns:

Dictionary with device ids and measurement unit.

Return type:

Dict[str, Tuple]

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

Return desired device objects.