[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20050421: LDM scour issue and computer lock-up
- Subject: 20050421: LDM scour issue and computer lock-up
- Date: Thu, 21 Apr 2005 09:19:52 -0600
Gabe,
OK. I've created a script (attached) that's almost identical to your
scour(1) script. Execute it and let me know.
Regards,
Steve Emmerson
------- Original Message
Date: Wed, 20 Apr 2005 21:44:25 -0400
From: Gabe Langbauer <address@hidden>To: Steve
Emmerson <address@hidden>
Subject: Re: 20050420: LDM scour issue and computer lock-up
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---559023410-851401618-1114047865=:1971
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Attached
[snip]
------- End of Original Message
#PATH=/bin:/usr/local/
PATH=/bin:/home/ldm/bin
LOGGER=echo
TZ=UTC0 export TZ
dayOffsetName=scour_$$
trap 'rm -f /tmp/$dayOffsetName' EXIT
if touch /tmp/$dayOffsetName; then
sleep 2
if find /tmp \! -name tmp -prune -mtime 0 -name $dayOffsetName \
2>/dev/null |
grep /tmp/$dayOffsetName >/dev/null 2>&1; then
DAY_OFFSET=1
elif find /tmp \! -name tmp -prune -mtime 1 -name $dayOffsetName \
2>/dev/null |
grep /tmp/$dayOffsetName >/dev/null 2>&1; then
DAY_OFFSET=0
else
$LOGGER "Couldn't discover meaning of '-mtime' argument of find(1)"
exit 1
fi
rm /tmp/$dayOffsetName
else
$LOGGER "Couldn't create '-mtime' discovery-file /tmp/$dayOffsetName"
exit 1
fi