aboutsummaryrefslogtreecommitdiff
path: root/sge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sge.sh')
-rwxr-xr-xsge.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/sge.sh b/sge.sh
new file mode 100755
index 0000000..ebfb65b
--- /dev/null
+++ b/sge.sh
@@ -0,0 +1,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