🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18732

News server survey

#18732
From: Forrest J. Cavalier III
Date: Wed, 25 Jun 1997 00:00
139 lines
4953 bytes
Wouldn't you like to know what is being used for news
hardware/OS/software these days?

I want to gather information and publish a survey of 
the basic characteristics of current news systems.  I think
this would be of great benefit to the individual news admin
to know what is successful, what is popular, what is not.  

The results will also benefit those maintaining INN
and utilities, the FAQ, and the Usenet RKT.

I am volunteering to coordinate the work, if there is
interest.  Results would be published via WWW and in
this newsgroup.

In order to maintain confidentiality, all identifying
characteristics would be stripped before being published.
   Your name/e-mail address would not be published, sold,
   used for marketing, or anything else.  There would be
   no mention that you participated in the survey.

I would like to make the survey a shell script, so that
it would not be time consuming to participate.  You would
take the survey by:
      sh survey.sh | tee out
      {inspect, edit to remove any sections you find
        objectionable, or sensitive}
      mail -t survey@mibsoftware.com <out
      rm out

I have a prototype shell script below, but I want comments for
improvements, sensitive information issues, and portability.

Tested on solaris.  I think it will work on linux also.
Some commands fail on one but work on the other.  (top vs free,
ps flags)

Here is a summary of data I want to report, and how it is
collected.

    Item of interest       Automatic collection using
    ----------------       --------------------------
    hostname (for survey   $INNCONFVAL fromhost
           tallying only)
    Operating system/CPU   uname -a
    Memory                 top -n  ; free
    Disk storage config    mount, df, innshellvars
    News volume            zcat $MOSTLOGS/OLD/news.1 | fgrep -c
    Number of newsfeeds    cat $NEWSFEEDS
    Expiration policy      cat $EXPIRECTL
    Number of groups       wc $ACTIVE
    Reader load            (ps -axw; ps -efl) | fgrep $NEWSUSER
    Memory usage           (ps -axw; ps -efl) | fgrep $NEWSUSER
    logging basics         ls -l $MOSTLOGS; ls -l $MOSTLOGS/OLD
      (size of files,etc)

It would also be nice to collect the following.  I don't know
how to do it automatically. Perhaps the script could take these
as interactive input?  Are you all trustworthy?  :-)
    Network connection
      (T1, T3, etc)         ??????
    CPU speed/System model  ??????
      (E.g. PPRO 200, SS20)
    config.data             ??????
    patches installed       ??????

I don't know how to accomodate other news systems besides
INN, such as Diablo, DNEWS, etc.  But I think it is important
to gather the basic system information on those systems also,
even if the details of newsfeeds, logs, etc cannot be determined.

Please let me know if there is interest in this, and if the
survey script can be improved.

If there is interest, I would start the survey next week, collect
data for a week or two, then publish soon after.   I can see many
benefits from having this data collected and published.  

Thanks.

Forrest Cavalier, Mib Software, INN customization and consulting


#!/bin/sh
INNCONFVAL=echo
NEWSFEEDS=failed
EXPIRECTL=failed
ACTIVE=failed   
. innshellvars
echo ++++++++++++uname -a
uname -a
echo ++++++++++++mount
mount
echo ++++++++++++df
df
echo ++++++++++++uptime
uptime
echo ++++++++++++top -n
top -n
echo ++++++++++++free
free
echo ++++++++++++set
set
echo ++++++++++++$INNCONFVAL domain
$INNCONFVAL domain
echo ++++++++++++$INNCONFVAL fromhost
$INNCONFVAL fromhost
echo ++++++++++++$INNCONFVAL pathhost
$INNCONFVAL pathhost
echo ++++++++++++$INNCONFVAL server
$INNCONFVAL server
echo ++++++++++++cat $NEWSFEEDS
cat $NEWSFEEDS
echo ++++++++++++ls -l $MOST_LOGS
ls -l $MOST_LOGS
echo ++++++++++++ls -l $MOST_LOGS/OLD
ls -l $MOST_LOGS/OLD
echo ++++++++++++cat $EXPIRECTL
cat $EXPIRECTL
echo ++++++++++++wc $ACTIVE
wc $ACTIVE
echo ++++++++++++ps -efl | fgrep $NEWSUSER
ps -efl | fgrep $NEWSUSER
echo ++++++++++++ps -axw | fgrep $NEWSUSER
ps -axwl | fgrep $NEWSUSER
head $MOST_LOGS/news
echo ++++++++++++uncompressing $MOSTLOGS/OLD/news.1
date
zcat $MOST_LOGS/OLD/news.1 >survey.tmp
date
echo ++++++++++++fgrep -c \" + \" survey.tmp
fgrep -c " + " survey.tmp
echo ++++++++++++fgrep -c \" - \" survey.tmp
fgrep -c " - " survey.tmp
rm survey.tmp


Technical Details
Message-ID: <5orbum$8tj$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

Show Full Headers
Complete Article Headers
Message-ID: <5orbum$8tj$1@news1.epix.net>
Subject: News server survey
Date: Wed, 25 Jun 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
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: 252484490
Organization: Mib Software
Newsgroups: news.software.nntp