1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-27 19:34:43 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -22,7 +22,7 @@
#
# env.sge_settings - Path to SGE settings.sh script, defaults to /opt/sge/default/common/settings.sh
# env.title - Graph title, overrides "SGE Queue state".
# env.options - Additional command line options to qstat.
# env.options - Additional command line options to qstat.
#
# Revisions:
# v1.0 2009-07-19
@ -93,7 +93,7 @@ if [ "$1" = "autoconf" ]; then
if which qstat > /dev/null; then
echo "yes"
exit 0
else
else
echo "no"
exit 1
fi
@ -102,8 +102,8 @@ fi
# env.options
OPTIONS="-g c -q $QUEUE $options"
# qstat -g c example output:
# CLUSTER QUEUE CQLOAD USED RES AVAIL TOTAL aoACDS cdsuE
# qstat -g c example output:
# CLUSTER QUEUE CQLOAD USED RES AVAIL TOTAL aoACDS cdsuE
# --------------------------------------------------------------------------------
# all.q 0.00 16 8 48 64 0 0
qstat $OPTIONS | tail -n 1 | awk '{print "unavailable.value " $8 "\nreserved.value " $4 "\nused.value " $3 "\nfree.value " $5-$4}'