module SystemD::MemoryPressure

Overview

Module to monitor memory pressure using systemd's memory pressure notification mechanism.

Defined in:

memory_pressure.cr

Constant Summary

Log = ::Log.for("systemd.memory_pressure")

Class Method Summary

Class Method Detail

def self.monitor(&block : -> ) #

The block is called when memory pressure is detected


[View source]