From 5dc3a3b043a990fc58a4ead74c2c5c92e910727d Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 28 Dec 2014 20:14:52 +0800 Subject: let svg linegraph to auto adjust for its y-axis --- count.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 count.sh (limited to 'count.sh') diff --git a/count.sh b/count.sh new file mode 100755 index 0000000..3db505f --- /dev/null +++ b/count.sh @@ -0,0 +1,10 @@ +#!/bin/bash +export JMNAME='COUNTER' +export JTYPE='linegraph' +i=1 +function trigger { + $CLIENT --add "$JID" "$i" + let i=i+10000 +} +export -f trigger +./monitor_daemon.sh -- cgit v1.2.3