Server Scripts
The Location for each of these scripts is both where they should live, but also where the most recent copies can currently be found.
Statistics
Note: These scripts are dependent on the timestamp scheme currently being used (MMM dd yyyy HH:mm:ss.SSS). These scripts assume that administrators will want to break down usage into the groups In Music Library, On Campus, Off Campus, and Totals which are specified by IP addresses. These scripts only deal with UI and Darwin Streaming Server log processing and analyzing.
generateStats.pl
Location: |
/home/dmlserv/dml/bin/ |
Usage: |
generateStats.pl Mmm dd yyyy filename (Analyze only specified date) |
When to run: |
Nightly |
Notes: |
|
Changes to make for test sites: |
Line 75: sortedlogfiles - filesystem path to Darwin log files |
generateQTStats.pl
Location: |
/home/dmlserv/dml/bin/ |
Usage: |
generateQTStats.pl filename (Analyze an entire file) |
When to run: |
Nightly |
Notes: |
|
Changes to make for test sites: |
Line 33: filepath - filesystem path to output directory where statistics live |
viewStats.cgi
Location: |
/var/www/cgi-bin/ |
||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9b50e3cd-11b4-43bb-b9a7-eaf4b0710028"><ac:plain-text-body><![CDATA[ |
Usage: |
viewStats.cgi?[current][year=yyyy][month=Mmm][day=dd][location=In+Music+Library|On+Campus|Off+Campus|Totals][view=yearly|monthly|daily] |
]]></ac:plain-text-body></ac:structured-macro> |
When to run: |
Whenever an administrator wants to view statistics |
||
Notes: |
For this script to work the filepath directory should be linked into an apache viewable directory that is specified with urlpath. |
||
Changes to make for test sites: |
Line 28: filepath - filesystem path to statistics files generated by generateStats.pl and generateQTStats.pl |