Hi,

Am 04.06.2013 um 18:31 schrieb Ed Lauzier:

> 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

True, it's missing there. Maybe Dave can fix it.


> - 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}'`

Which `df` are you using? Column one is the name of the file system in 
question. Is it supressed in your output?

-- Reuti


> 
> Hope this helps....
> 
> thanks,
> 
> Ed Lauzier
> 
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


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

Reply via email to