ctdb-scripts: Only use /proc/meminfo for memory checks, not "free"
authorMartin Schwenke <martin@meltin.net>
Mon, 20 Jul 2015 10:50:56 +0000 (20:50 +1000)
committerAmitay Isaacs <amitay@samba.org>
Sat, 29 Aug 2015 15:06:25 +0000 (17:06 +0200)
commit99b8ef512162570504689b53adb14a52233f49b7
treeb462dc33014d429022b30044228dd1d07df3b610
parentab58c7abd9c49325c3cee1e7178d04a3034e57d8
ctdb-scripts: Only use /proc/meminfo for memory checks, not "free"

No need to use 2 different sources of information for similar checks.
Also, output of free has been changed, whereas /proc/meminfo is a
kernel API, which will not change.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/events.d/05.system
ctdb/tests/eventscripts/scripts/local.sh
ctdb/tests/eventscripts/stubs/free [deleted file]