3 |
#PBS -q four-twelve |
#PBS -q four-twelve |
4 |
#PBS -N tst_mth |
#PBS -N tst_mth |
5 |
#PBS -l nodes=1:ppn=2 |
#PBS -l nodes=1:ppn=2 |
6 |
#PBS -e /home/jmc/test_ACES/output/tst_mth.stderr |
#PBS -e /home/jmc/test_aces/output/tst_mth.stderr |
7 |
#PBS -o /home/jmc/test_ACES/output/tst_mth.stdout |
#PBS -o /home/jmc/test_aces/output/tst_mth.stdout |
8 |
|
|
9 |
# $Header$ |
# $Header$ |
10 |
# $Name$ |
# $Name$ |
45 |
#dsp=`df -P . | tail -1 | awk '{print $5}' | sed 's/%$//'` |
#dsp=`df -P . | tail -1 | awk '{print $5}' | sed 's/%$//'` |
46 |
#if [ $dsp -gt 99 ] ; then |
#if [ $dsp -gt 99 ] ; then |
47 |
dsp=`df -P . | tail -1 | awk '{print $4}'` |
dsp=`df -P . | tail -1 | awk '{print $4}'` |
48 |
if [ $dsp -le 3200000 ] ; then |
if [ $dsp -le 1000000 ] ; then |
49 |
echo 'Not enough space on this disk => do not run testreport.' |
echo 'Not enough space on this disk => do not run testreport.' |
50 |
df . |
df . |
51 |
exit |
exit |