aboutsummaryrefslogtreecommitdiff
path: root/count.sh
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2014-12-28 20:14:52 +0800
committerDeterminant <ted.sybil@gmail.com>2014-12-28 20:14:52 +0800
commit5dc3a3b043a990fc58a4ead74c2c5c92e910727d (patch)
tree6b3820afa2407a5d77fb888346de9a093ef6576c /count.sh
parent1759c270db273939feeff5b241e9143cb067aa32 (diff)
let svg linegraph to auto adjust for its y-axis
Diffstat (limited to 'count.sh')
-rwxr-xr-xcount.sh10
1 files changed, 10 insertions, 0 deletions
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