![Logo](logo.png) |
Coretex
|
20 from ..metric
import Metric
21 from .....statistics
import getSwapUsage
24 class MetricSwapUsage(Metric):
26 def extract(self) -> float:
27 usage = getSwapUsage()
29 logging.getLogger(
"coretexpylib").warning(f
">> [Coretex] Swap memory usage is at {usage}")