30c8968
1 2 3 4 5 6 7 8
#!/bin/bash export JMNAME='TOP' export JTYPE='listgraph' function trigger { qstat -u '*' | tail -n +3 | head -n 10 | $CLIENT --alter "$JID" } export -f trigger ./monitor_daemon.sh