home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
hamradio
/
logcon.zip
/
LOGCON.DOC
< prev
next >
Wrap
Text File
|
1992-11-30
|
8KB
|
186 lines
LOGCON
LOGCON is only of use to those who run the G1NNA mailbox software
on a PC. I hold the copyright for the LOGCON program and
documentation. You may use it free of charge for personal use
involving no pecuniary gain. It scans a mailbox log file and looks for
incoming or outgoing connections. There is no check that outgoing
connections were successful. This program will work with all NNA
versions including V2.0 and can scan both the standard log file and
the verbose log file.
When the mailbox log file has been scanned then a graph is drawn
using text characters. The graph shows either connections versus time
of day or connections versus days of the week. Connections are shown
as absolute values instead of e.g. averages. Mailbox SysOps can use
these graphs to get an accurate picture of activity times and days.
The menu looks like this:-
------------------------------------------------------------
1) Draw graph of incoming connections.
2) Draw graph of outgoing connections.
3) Draw graph of both way connections.
4) Change log file to examine. It is E:\NNA\LOG\LOG.0
5) Change callsigns to examine. It is ALL
6) Change the X axis. It is hours of the day.
7) Change output destination. It is an appended LOGCON.DAT file.
8) Automatic mode: 18 graphs to file LOGCON.DAT
9) End.
Which?
------------------------------------------------------------
MENU OPTIONS 1, 2, 3
Options 1, 2, and 3 will start the program churning away.
MENU OPTION 4
Option 4 must be set to suit your own drive, path and filename so
that the program can find the log file to be examined.
MENU OPTION 5
Option 5 offers the choice of callsigns to examine and selects:
ALL, GB7, NON-GB7 and a specified callsign. ALL will examine
connections made to or from all callsigns. GB7 will examine
connections to or from callsigns starting with GB7 i.e. mailboxes.
NON-GB7 examines connections to or from callsigns which start with
anything else except GB7 i.e. mailbox users.
There is no facility to cater for the two "non-standard" mailbox
callsigns starting with GB3 as if they were GB7 callsigns. If this is
a problem then send me a packet message and I'll knock up another
version.
The final option 5 choice is a specified callsign e.g. G8EIA. Like
the GB7 choice, there is an implied wildcard, so specifying callsign
G4 will examine connections to or from all callsigns starting with G4.
MENU OPTION 6
Option 6 selects the graph's X axis as being either hours of the
day (24 hr clock) or days of the week. As the graph uses absolute
values, note that if your log file contains information for eight days
then one of the days of the week in the graph will be loaded more than
the other seven.
MENU OPTION 7
Option 7 states where the graph will go. The default is to add it
to a file called LOGCON.DAT in the same directory as LOGCON.EXE
without deleting any existing data in LOGCON.DAT if this file already
exists. Other choices are to send the graph to the screen only (the
full graph is more than 25 lines tall), to a printer on LPT1:, or to a
new LOGCON.DAT data file.
MENU OPTION 8
Option 8 will make the program churn away, automatically produce 18
standard graphs, each of which could have been produced by selecting
the required parameters and manually running this program. The first
nine graphs have the hours of the day as the X axis, the second nine
have the days of the week. The nine graphs have the parameters:
Incoming, ALL
Outgoing, ALL
Bothway, ALL
Incoming, GB7
Outgoing, GB7
Bothway, GB7
Incoming, NON-GB7
Outgoing, NON-GB7
Bothway, NON-GB7
Option 8 can take a very long time to run, especially if used on a
monthly log file near the end of the month. If the output graphs are
written to the default file then the time taken is also written there.
As a guide, my 486DX-33 PC took 13 mins 55 secs to examine a 600K log
file and produce the 18 graphs. When running in a Desqview window, it
took 29 mins 47 secs for the same 18 graphs.
SAMPLES OF GRAPHS
In the following graph, the log file had a total of 872 incoming
connections from non-GB7 callsigns. The peak number of these
connections occurred between 19:00 and 19:59 hrs and there were 82
such connections.
------------------------------------------------------------
Incoming mailbox connections for NON-GB7 callsigns. Total is 872
Mbx log covers 01/11/92 to 25/11/92.
The peak number of connections is 82
100% X
95% X
90% X X
85% X X
80% X X
75% X X
70% X X X
65% X X X X
60% X X X X
55% X X X X X X
50% X X X X X X X X
45% X X X X X X X X X X
40% X X X X X X X X X X X X X X
35% X X X X X X X X X X X X X X X X X
30% X X X X X X X X X X X X X X X X X X
25% X X X X X X X X X X X X X X X X X X X
20% X X X X X X X X X X X X X X X X X X X X X
15% X X X X X X X X X X X X X X X X X X X X X
10% X X X X X X X X X X X X X X X X X X X X X X
5% X X X X X X X X X X X X X X X X X X X X X X X X
00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Incoming mailbox connections for ALL callsigns. Total is 2763
Mbx log covers 01/11/92 to 25/11/92.
The peak number of connections is 478
100% X
95% X X
90% X X X
85% X X X
80% X X X
75% X X X X X
70% X X X X X X
65% X X X X X X
60% X X X X X X
55% X X X X X X X
50% X X X X X X X
45% X X X X X X X
40% X X X X X X X
35% X X X X X X X
30% X X X X X X X
25% X X X X X X X
20% X X X X X X X
15% X X X X X X X
10% X X X X X X X
5% X X X X X X X
Mon Tue Wed Thu Fri Sat Sun
------------------------------------------------------------
RUNNING LOGCON AT SAME TIME AS YOUR MAILBOX
If you wish to run LOGCON.EXE at the same time as your mailbox then
be aware of two important points:-
a) If your mailbox log file is updated while LOGCON is running then it
may cause problems. One answer is to copy the log file to another name
e.g. copy log.bbs log.0
b) If using the days of the week for the X axis then this program uses
a cheap and nasty way of changing the date into the days of the week.
This was laziness on my part (efficiency?) as it was a lot quicker
writing the program to use DOS5 to supply the day of the week for any
date than it was to write a separate subroutine to do it.
LOGCON notes the current date, tells DOS a new date, reads the day
of the week given by DOS, then tells DOS the true date again. This
could alter the current date in your messages or log file if you run
LOGCON while the mailbox is running. I may get around to a new version
which works out the day of the week independently of DOS5 but don't
hold your breath.
Richard I. Trotter, November 1992.
G8EIA @ GB7NEM