Hi,

This is for the web page maintainer....

Minor but important typos in the tmpspace load sensor howto page:
( at least for linux....)

http://arc.liv.ac.uk/SGE/howto/loadsensor.html

tmpspace.sh:

- no closing "fi" for "if"

if [ "$SGE_ROOT" != "" ]; then root_dir=$SGE_ROOT

- wrong params in awk statement

 dfoutput="`df -k $FS | tail -1`" tmpfree=`echo $dfoutput | awk '{ print $4}'` 
tmptot=`echo $dfoutput | awk '{ print $2}'` tmpused=`echo $dfoutput | awk '{ 
print $3}'`

 should be:

 dfoutput="`df -k $FS | tail -1`" tmpfree=`echo $dfoutput | awk '{ print $3}'` 
tmptot=`echo $dfoutput | awk '{ print $1}'` tmpused=`echo $dfoutput | awk '{ 
print $2}'`

Hope this helps....

thanks,

Ed Lauzier




_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to