2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Configurable location of sge settings.sh script

This commit is contained in:
Wouter Verhelst 2016-10-23 10:36:58 +02:00
parent 8c9f0260f9
commit 5800201da8

View File

@ -24,7 +24,9 @@ then
exit 0
fi
. /opt/sge/default/common/settings.sh
SGE_SETTINGS=${SGE_SETTINGS:-/opt/sge/default/common/settings.sh}
. $SGE_SETTINGS
qstat -u '*' | awk '
BEGIN{maxnum = 0; running = 0; waiting = 0}