Hi All,
Thanks a lot for your suggestions.
I tried implementing the last one ,but it is still throwing an error while doing export.
I noted one thing very peculiar here,that it is not allowing me to export but it is still displaying the QUOTA of the environment.
Found it really strange.
Any suggestions/comments??
Thanks..
+ warninglimit=350000
+ lowlimit=250000
+ filesystems=/export /home/t2/
+ + df -k /export
df: open of /export failed
dfoutput=
+ [ 1 -ne 0 ]
+ echo Error running 'df -k /export', skipping
+ 1>& 2
Error running 'df -k /export', skipping
+ continue
+ + df -k /home/t2/
dfoutput=/home/t2 (/dev/vgt2_flat1/lvt2_home) : 71696384 total allocated Kb
19766688 free allocated Kb
51929696 used allocated Kb
72 % allocation used
+ [ 0 -ne 0 ]
+ + echo /home/t2 (/dev/vgt2_flat1/lvt2_home) : 71696384 total allocated Kb 19766688 free allocated Kb 51929696 used allocated Kb 72 % allocation used
+ awk { print $4; }
+ grep /home/t2/
size=
+ [ -le 250000 ]
+ echo mailx -s URGENT: Low disk space for /home/t2/ () -r
abc@sd.com
mailx -s URGENT: Low disk space for /home/t2/ () -r
abc@sd.com
+ break