On Fri, Apr 08, 2011 at 10:55:13PM +0100, Jonathan Matthews wrote:
> [Sorry for the toppost, but I can't be arsed to edit the
> already-buggered quoting]
>
[cut]
>
> Regardless, I suggest you *collect*, *graph* and *trend* these
> values, but don't alert or warn based on them. On the other hand, you
> may dislike a good night's sleep.
For which there are plenty of already working applications; munin,
nagios, collectd, cacti and so on. Monitoring the amount of free memory
on a machine is such a common task that there's almost no need to
re-invent the wheel.