event scripts: add logging for low memory conditions mem-reporting
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 9 Feb 2010 02:16:35 +0000 (12:46 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 9 Feb 2010 02:16:35 +0000 (12:46 +1030)
commit627a6d67a0e9e61f8713e62695b3518c51909230
tree745f6dddcf17edb571105e2492e4de75b501fc42
parentf63c091f12f8d582e9518673365c7c52479c470c
event scripts: add logging for low memory conditions

We should never enter swap; if we do, show the memory state of the machine and the process list.  This will help us diagnose what caused the condition before it's too late and the box starts OOM-killing processes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
config/events.d/00.ctdb