Path: utzoo!mnetor!spectrix!clewis From: clewis@spectrix.UUCP (Chris R. Lewis) Newsgroups: comp.mail.uucp Subject: Re: When the disk runneth over, UUCP keeps on sending. Message-ID: <482@spectrix.UUCP> Date: 3 Mar 88 01:12:17 GMT References: <1224@beowulf.UUCP> <1988Feb25.231353.10821@lsuc.uucp> <4285@b-tech.UUCP> Reply-To: clewis@spectrix.UUCP (Chris R. Lewis) Organization: Spectrix Microsystems Inc., Toronto, Ontario, Canada Lines: 29 In article <4285@b-tech.UUCP> zeeff@b-tech.UUCP (Jon Zeeff) writes: | |This seems to work well here. | |# |# This demon script watches for a lack of space and kills incoming uucico |# jobs when space is low. |# Written for HDB uucp. Non HDB uucp systems may be able to get the pid |# from the TM file name. |# |# - Jon Zeeff umix!b-tech!zeeff [ most code omitted ] | kill `cat /usr/spool/locks/LCK..$i` Something like this will work on most non-HDB systems: set `od -d /usr/spool/uucp/LCK..$i` kill $2 On BSD4.3 UUCP you will probably need this instead: set `od -d /usr/spool/uucp/LCK/LCK..$i` kill $2 -- Chris Lewis, Spectrix Microsystems Inc, UUCP: {uunet!mnetor, utcsri!utzoo, lsuc, yunexus}!spectrix!clewis Phone: (416)-474-1955