🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15867

Re: Determine how much data has been transferred..

#15867
From: James Brister
Date: Thu, 13 Mar 1997 00:00
24 lines
1250 bytes
Padisetti Rajeswara Rao <prrao@india.hp.com> writes:

> How much data (or how many bytes) has been transferred
> in and out through the newsfeed.

To get the incoming amounts look at the config file variable

	LOG_SIZE

which is set to DO by default. It gives you this in the log entry:

Mar 13 18:35:58.240 + 0.0.0.0 <ahbou=5g464t$c1k@ds2.acs.ucalgary.ca> 1658
                                                                     ^^^^
(byte count).

	awk '$4 == "+"{tot+=$7}END{print tot}' /var/log/news/news

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Technical Details
Message-ID: <yy3ohcnk4mp.fsf@velo.pp.vix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <33276187.56FB@india.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <yy3ohcnk4mp.fsf@velo.pp.vix.com>
Subject: Re: Determine how much data has been transferred..
Date: Thu, 13 Mar 1997 00:00:00 +0000
From: James Brister <brister@vix.com>
References: <33276187.56FB@india.hp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 225257358
Organization: Internet Software Consortium
Newsgroups: news.software.nntp