Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!EU.net!Germany.EU.net!news.maz.net!news.omnilink.net!news.toplink.de!toplink1.toplink.net!ck From: ck@news.toplink.de (Christian Kratzer) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: No uuq in BSDI? Date: 26 Dec 1995 17:43:53 GMT Organization: TopLink GbR, Germany, Internet Services Lines: 26 Message-ID: <4bpc8p$90o@toplink1.toplink.net> References: <4b9vtu$3fr@vnetnews.value.net> NNTP-Posting-Host: toplink1.toplink.net X-Newsreader: TIN [version 1.2 PL2] Patrick Greenwell (patrick@veenet.value.net) wrote: : I am attempting to run a UUCP feed for a site using INN and have found : that in the sendbatch it calls uuq which doesn't seem to exist in the : BSDI distribution. Is this correct? Is there an alternative script for : INN or an alternate command that produces the same stats as uuq? Same Problem here with FreeBSD and propably with every other os that uses Taylor uucp. Sendbatch uses uuq to sum up the total bytes batched for a Site. You can do the same using uustat though. Here's the part out of my /usr/local/news/bin/sendbatch ## Get queue size from uuq command. # old version using uuq #QUEUE=`uuq -l -s${SITE} | ${AWK} '{print $4; exit }'` # new version using uustat QUEUE=`uustat -s${SITE} | ${AWK} '{ sum=sum+$9 }END{ print sum}'` Seasons Greetings Christian -- TopLink GbR, Internet Services info@toplink.net Christian Kratzer http://www.toplink.net/ Phone: +49 7452 87174 Fax: +49 7452 87175 FreeBSD spoken here!