I'm trying to create a trigger that is supposed to fire when a system runs out of memory but I'm not sure how to accomplish this. The default linux template contains such a trigger but that is not very useful because it doesn't take cache memory into account i.e. the free memory might reach zero and the trigger will fire even though there's 2G cache memory left.
Is there a way to combine items in triggers and e.g. say "fire if (free + cache + buffer) < 10000"?
Is there a way to combine items in triggers and e.g. say "fire if (free + cache + buffer) < 10000"?
Comment