aboutsummaryrefslogtreecommitdiff
path: root/examples/sge.sh
blob: 63e263ae9961ec4b6e7721b0813fc5e0e1a041df (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash
export JMNAME='SGE'
export JTYPE='listgraph'
function trigger {
    qstat -u '*' | tail -n +3 | head -n 10 | $CLIENT --alter "$JID"
}
export -f trigger
./monitor_daemon.sh