🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6615

FUN with graphs

#6615
From: cj
Date: Tue, 16 Apr 1996 00:00
67 lines
3332 bytes
Surely someone has done this type of thing before.
Anyone have a well defined recipe for this?

Using the lines like 

        Apr 16 17:59:52 rattler innd: news6.digex.net:17 \
		closed seconds 6979 accepted 10827 refused 37 rejected 27

from the syslog'd news.notice file, I thought it would be interesting 
to be able to visualize the flow of quantity of news per connection 
period in *something* like this:


 # Articles |            width of each bar indicates
            |            length of connection to feeder
            |
            |                    So, in the completely made up example,
            |                         
            |                         at     connected for   # articles received
      500  -|                        00:00        10 min          200 
            |       000000           00:20        15 min          450
      400  -|       000000           00:40         5 min          100
            |       000000           00:50        17.5 min        250
      300  -|       000000               
            |       000000      0000000    
      200  -|####   000000      0000000
            |####   000000      0000000
      100  -|####   000000  ##  0000000
            |####   000000  ##  0000000
            --|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-
       00:00  5   15  25  35  45  55  65  75  85
                10  20  30  40  50  60  70  80
              
		Time of day 
		( 2 columns = 5 minutes)
			
OR, ignoring the time of day that the connections occurred,
you could do a simple graph of points and look for clusters.
( not that there are any in the simple example below )


 # Articles |      
            |     
            |
            |                    So, in the completely made up example,
            |                         
            |                               connected for   # articles received
      500  -|                                     10 min          200 
            |     x                               15 min          450
      400  -|                                      5 min          100
            |                                     17.5 min        250
      300  -|                            
            |      x                       
      200  -|   x
            |     
      100  -| x     
            |
            --|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-
          0   5   15  25  35  45  55  65  75  85
          

Obviously the axis would have to be adjusted but I bet there is some
package out there that would allow you to just give it the raw data
(start time, duration, # articles)  and then allow you to fiddle with
with the axis increments till things looked pretty.

Technical Details
Message-ID: <31743639.2E1C@gteais.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

Show Full Headers
Complete Article Headers
Message-ID: <31743639.2E1C@gteais.com>
Subject: FUN with graphs
Date: Tue, 16 Apr 1996 00:00:00 +0000
From: cj <cj@gteais.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: 147874342
Distribution: inet
Content-type: text/plain; charset=us-ascii
Organization: chaos
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 2.01 (X11; I; SunOS 5.5 sun4m)