aboutsummaryrefslogblamecommitdiff
path: root/examples/count.sh
blob: 3db505f5e33a8cbe8d786f860ca7278bd2c922b3 (plain) (tree)
1
2
3
4
5
6
7
8
9
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