Article View: news.software.nntp
Article #89266Re: Getting a list of groups + number of articles
From: Julien ÉLIE
Date: Wed, 30 Mar 2022 20:49
Date: Wed, 30 Mar 2022 20:49
33 lines
2084 bytes
2084 bytes
Hi Nigel,
>>> Is there any command that'll list the newsgroups and number of
>>> articles in each group?
>>
>> LIST COUNTS does this:
>
> I was thinking more like something I can run from a linux command line.
Assuming INN is installed (it provides the getlist tool):
% getlist -h nntp.aioe.org counts 'aioe*' | awk '{ print $1, $4 }'
aioe.it.discussioni 148
aioe.news.assistenza 6601
aioe.news.helpdesk 1557
aioe.system 80
aioe.test 1630
aioe.test.tor 37
aioe.news.nocem 15130
aioe.test.moderated 7
aioe.helpdesk 259
or:
% getlist counts | awk '{ print $1, $4 }'
for your local news server.
--
Julien ÉLIE
« L'éternité, c'est long, surtout vers la fin. » (Woody Allen)
Technical Details
Message-ID:
<t22fo2$15ap6$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<20220329133107.4719656c@wibble.sysadmininc.com> <t1vqf8$12mp$1@gioia.aioe.org> <20220330002150.26509256@wibble.sysadmininc.com>Show Full Headers
Complete Article Headers
Message-ID: <t22fo2$15ap6$1@news.trigofacile.com> Subject: Re: Getting a list of groups + number of articles Date: Wed, 30 Mar 2022 22:49:06 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <20220329133107.4719656c@wibble.sysadmininc.com> <t1vqf8$12mp$1@gioia.aioe.org> <20220330002150.26509256@wibble.sysadmininc.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 30 Mar 2022 20:49:06 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1223462"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Cancel-Lock: sha1:qIhJljELAjuZvrzeiawVxNIh/J0= sha256:YxNv78iTERSnzMUKNHKgzQFkv65GHGoLdSOY0wBuLuU= sha1:Qxog6ClC+373ZDs+SbIXlwKo/3A= sha256:xSHTDwraujG6WeOME584FlOf8KEArJZ+JS5hq0ZDPyY= In-Reply-To: <20220330002150.26509256@wibble.sysadmininc.com>