diff options
Diffstat (limited to 'count.sh')
-rwxr-xr-x | count.sh | 10 |
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 |