# ´ë¿ë·® ÆÄÀÏ Ã£±â ½©½ºÅ©¸³Æ® (40M±âÁØ)
# build by stone
if [ -s filesize ]
then
rm /tmp/filesize
else
:
fi
find / -size +80000 -print > /tmp/logsize
find /var -size +80000 -print >> /tmp/logsize
find /data1 -size +80000 -print >> /tmp/logsize
find /data2 -size +80000 -print >> /tmp/logsize
find /data3 -size +80000 -print >> /tmp/logsize
find /data4 -size +80000 -print >> /tmp/logsize
cp logsize viewsize
grep -v "\[" /tmp/logsize > /tmp/logtmp
mv /tmp/logtmp /tmp/logsize
while [ : ]
do
if [ -s /tmp/logsize ]
then
A=`head -1 /tmp/logsize`
ls -l "$A" >> /tmp/filesize
grep -v "$A"/tmp/logsize > /tmp/logtemp
mv /tmp/logtemp /tmp/logsize
else
rm /tmp/logsize
echo "Å«ÆÄÀÏ °Ë»öÀÛ¾÷ÀÌ Á¾·áµÇ¾ú½À´Ï´Ù"
exit 0
fi
done
|