summaryrefslogtreecommitdiff
path: root/mpplot/loop
diff options
context:
space:
mode:
Diffstat (limited to 'mpplot/loop')
-rwxr-xr-xmpplot/loop8
1 files changed, 8 insertions, 0 deletions
diff --git a/mpplot/loop b/mpplot/loop
new file mode 100755
index 0000000..51840db
--- /dev/null
+++ b/mpplot/loop
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+while true; do
+ tail -n 2000 /tmp/wibble.log | head -n 1999 > /tmp/wibble.tail
+ gnuplot plot
+ convert /tmp/mp.ps /tmp/mp.png
+ date
+done