add simple memory monitor
authorStefan Koegl <stefan@skoegl.net>
Wed, 16 Jun 2010 15:22:11 +0000 (16 17:22 +0200)
committerStefan Koegl <stefan@skoegl.net>
Wed, 16 Jun 2010 15:22:11 +0000 (16 17:22 +0200)
test/monitor-mem.sh [new file with mode: 0755]

diff --git a/test/monitor-mem.sh b/test/monitor-mem.sh
new file mode 100755 (executable)
index 0000000..f63e405
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+while [ 1 ]
+do
+    date +%T
+    ps ax -o rss,command | grep runmonitor | grep -v grep
+    sleep 1
+done
+