🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18750

Re: News server survey

#18750
From: Forrest J. Cavalier III
Date: Thu, 26 Jun 1997 00:00
63 lines
3416 bytes
In article <5l3eq5r6ce.fsf@tequila.systemsz.cs.yale.edu>, 
monnier+news/software/nntp/news/@tequila.cs.yale.edu wrote...
>> >    Reader load            (ps -axw; ps -efl) | fgrep $NEWSUSER
>>     This might work.  An 'uptime' would be good too, and a vmstat
>
>No. uptime doesn't tell anything interesting in this context: it's fine
>for your own server because you compare "my uptime yesterday" with "my uptime
>today", but comparing uptime values of different systems running different
>servers is just uninteresting.

My shell script does run "uptime."  I think the load reported might
be usable as a comparison, although I agree that it is of dubious
quality.  I want to know how long the system was up, as a measure of
INN stability.  (The ps start time reported for innd will also be used.)

>It's probably more interesting to look at vmstat, cpu-usage and such.
>Also interesting to measure would be "time to execute XXX" where XXX is a
>little script that connects to the server a couple times a wanders around a
>little, downloading a few (or a lot of) articles.

I do have a crude measure of performance built into survey.sh:
How long it takes to zcat OLD/news.1  

BTW, any script which "connects to the server... and wanders around" is
not going to be a "little script."  There are lots of metric tools that I
would like people to run, but I figure participation will be much higher
if it fits in a shell script that is tacked onto an e-mail message.

- - - - - - - - - - - - - - - - - 

Matt pointed out that "cat newsfeeds" does not really give an indication
of how many incoming feeds you have.  "cat hosts.nntp" isn't so good either.

I want to keep the size of the response file down, since most admins
will want to (at least SHOULD want to) look at what is sent out before
it is sent.  How about this: 1 hour's worth of checkpoint messages from
news.notice.  

    zcat OLD/news.notice.1 | fgrep checkpoint | fgrep " 10:"

(If news.daily runs in the 10:00 hour, this only gets a partial or
split report. No easy solution there, unless you cat news.notice also.
Is that too much CPU/disk impact?  I figure it isn't worth it: I'll
lose only a couple of sample points.)

- - - - - - - - - - - - - - - - - 

Matt suggested e-mail to news@{freenix1000}  I hesitate on that....
UCE is still UCE, even if it's for a "good cause".  But I know that
the readership of news.software.nntp is not large compared to
the number of news machines.  How to reach the others?

Perhaps a particularly formatted control message would do the trick
for many of those systems.   :-)  (Only kidding, ok?)  

cat /etc/passwd is not my style. My shell script fgreps ps output for 
$NEWSUSER so that user names are not reported.

Forrest Cavalier, Mib Software


Technical Details
Message-ID: <5ottn0$c4e$1@news1.epix.net>
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: <5orbum$8tj$1@news1.epix.net> <5orsp0$7ul$1@flea.best.net> <5l3eq5r6ce.fsf@tequila.systemsz.cs.yale.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5ottn0$c4e$1@news1.epix.net>
Subject: Re: News server survey
Date: Thu, 26 Jun 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
References: <5orbum$8tj$1@news1.epix.net> <5orsp0$7ul$1@flea.best.net> <5l3eq5r6ce.fsf@tequila.systemsz.cs.yale.edu>
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: 252722645
Organization: Mib Software
Newsgroups: news.software.nntp