summaryrefslogtreecommitdiff
path: root/tests/memfree
diff options
context:
space:
mode:
authorRob Kendrick (humdrum) <rob.kendrick@codethink.co.uk>2014-02-13 09:40:56 +0000
committerRob Kendrick (humdrum) <rob.kendrick@codethink.co.uk>2014-02-13 09:40:56 +0000
commitca9987f399217e6d163a0aaf4b80fb08329e441c (patch)
treee1ff14a81b41ac0bad4ff3147991b5edc584f1ed /tests/memfree
parent394a6c619cd9458fbd659a70963485b9519cbc04 (diff)
downloadtrove-overseer-ca9987f399217e6d163a0aaf4b80fb08329e441c.tar.gz
Trove Overseer initial work, and plugins
Diffstat (limited to 'tests/memfree')
-rwxr-xr-xtests/memfree3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/memfree b/tests/memfree
new file mode 100755
index 0000000..21bc619
--- /dev/null
+++ b/tests/memfree
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+grep "^MemFree:" /proc/meminfo | awk ' { print $2 * 1024 } '