AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/cnet/pfusage11.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:Creates pfiles subboard activity graphs
Author: desfox at superior.net (Fred Kuhne)
Uploader:desfox superior net (Fred Kuhne)
Type:comm/cnet
Architecture:m68k-amigaos
Date:1996-04-21
Download:comm/cnet/pfusage11.lha - View contents
Readme:comm/cnet/pfusage11.readme
Downloads:436

CNet Pfile Subboard Activity Graph, Version 1.1

This program will read in the info from CNet's data files and configure its'
own data file from those.  Then, based on that information it will construct
an activity graph of the pfiles usage, and the percentage of the time they 
were used for the files in each subdirectory.  This program will not make one
'global' activity graph of all your pfiles, rather it will construct individual
ones for each sub-directory in your pfiles directory.

For example, if you have a pfile subdirectory called Strategy, with 2 pfiles 
inside, called, say  "War" and "Peace", the program would keep track of the 
information for each pfile and construct a graph something like below (only in
ansi)
.------------------------------------------------------------.
| War       Used 23 Times     --------------------70%        |
| Peace     Used 10 Times     ---------30%                   |
`------------------------------------------------------------'

 _____________________________________________________________________________
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+

Installation:
 As you have already unarchived the files I'll consider that a given.  Second,
copy all the files in the archive into pfiles _in the directory they are 
already in_!  Copy the whole directory into pfiles!
 ___________________________
%%%%%%%%%%%%%%%%%%%%%%%%%%%+

Next, from inside CNet run the program 'gsi'.  You can run it with
the RunALL program by Dotoran or you can set it up as an Arexx Pfile in your
maintainence directory in pfiles, or even invoke the CNet visual editor and
type Ctrl-Q#0pfiles:pfusage/gsi} followed by a Ctrl-p, if you so desire.
This program will prompt you for the number of subboards you wish to include.
This is so that you can skip any maintainence subs or any others you don't want
involved.  (By the way, if you don't have your pfiles in sub-directories, shame
on you!  You'll have to wait till the next version when I will have coded 
support for that.)
 ___________________________
%%%%%%%%%%%%%%%%%%%%%%%%%%%+

It's time to add a new logfile!  If you already have a log running for RunPfile
fine, just change the name to pfuse.log and all the items in the logfile will be
added to the graph.  You don't have to start from 0 if you already have the log
going.  You do, however, need to rename it to pfuse.log.  Otherwise, run Config
and find the entry for RunPfile (it's right at the bottom of the list).  Click 
it once.  To right where it says 'Optional Log Filename' enter pfuse.log  
That's it.  Click on Add and you're all set.
 ___________________________
%%%%%%%%%%%%%%%%%%%%%%%%%%%+

Next you will be adding something to CNet's events.  Run CNet config; Enter 
events and add the following event:

Args:     pfiles:pfusage/usage
Ports:    whatever port number you normally run your maintainence from
Days:     All
Time:     whatever you like
Interval: I suggest something like 5-10 minutes, but it can be whatever you
          like.  More if your pfiles are EXTREMELY busy, less if they are 
          fairly inactive.
Iterate:  Whatever your little heart desires (For 5 minutes above, it's 298)

Now add it as an Arexx event and save.  That part is done.

 ___________________________
%%%%%%%%%%%%%%%%%%%%%%%%%%%+

****-----Alternate installation-----****
#1   Add to the end of line 39 of bbstext {#0pfiles:pfusage/usage}  This will 
activate the program at logoff.          ^----Ctrl-Q

#2   Add the same line as in #1, above, to your sys.exit for the subboards 
included.
 _____________________________________________________________________________
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+
That's it!!!!!  Now, whenever a user enters the pfiles sub-directories they 
will see an activity graph of the pfiles in that subboard!  ***Unless they 
have their help level set to superuser.***  If you want ALL your users to see
it you must disable their superuser status.  There are several ways to do this.
One is an enhancement available in CNet toolkit that modifies your BBSTEXT.  
Another is a script which would go through all users accounts and change their
help level to expert if it was set to superuser.  I have one that does this if
you want it send me E-mail. __________________________________________________
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+

--===Disclaimer===--
There is no warranty either real or implied with this software.  You use it at
your own risk and the author cannot be held responsible for any damage done by
the program.  "It works fine on my system, but may make yours crap the bed."

This program is Mailware.  If you use it and enjoy it, send the author mail at 
one of the addresses below.

desfox@mb.org
desfox@superior.net
Desert Fox@911:6000/18.0  Clink


Desert Fox <desfox@mb.org>
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6ui (Amiga)

mQCNAjE58UMAAAEEALxQAXUHQwONQFPLQie9A+/BInuWJtbnH9Xm97mSzvG+7KpY
NAvyTmloFXqK0f35nOhuZ6yFQFkFRw+N9RowRFyAsNSGi4Xxl9BTefMVQRjQ+PL9
PGJdI+AlCHT36J3/Z5GgIwwjXK37UhvSRqnGcw7XvhI1etcx9hgotY+QUE9NAAUR
tBpGcmVkIEt1aG5lIDxkZXNmb3hAbWIub3JnPg==
=aOzx
-----END PGP PUBLIC KEY BLOCK-----


Contents of comm/cnet/pfusage11.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  808    1749  46.2% -lh5- ed0b Apr 18  1996 pfusage/gsi
[generic]                  823    1757  46.8% -lh5- 142f Apr 17  1996 pfusage/knownbugs
[generic]                  391     711  55.0% -lh5- b515 Apr 17  1996 pfusage/usage
[generic]                 2281    5248  43.5% -lh5- 3d6b Apr 18  1996 pfusage/usage.doc
[generic]                  746    1662  44.9% -lh5- e122 Apr 17  1996 pfusage/usageprt
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files    5049   11127  45.4%            Apr 21  1996
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>