Child pages
  • Server Scripts

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Location:

/home/dmlserv/dml/bin/

Language:

Perl

Usage:

generateQTStats.pl filename (Analyze an entire file)
generateQTStats.pl (Analyze all logfiles Analyzes the logfile /var/streaming/logs/StreamingServer.*.log that corresponds to the current date or /var/streaming/logs/StreamingServer.log)

When to run:

Nightly or Hourly

Notes:

 

Changes to make for test sites:

Line 33: filepath - filesystem path to output directory where statistics live
Line 34: logfilepath - filesystem path to where logfiles live
Line 499: music_ip_file - full filesystem path to file containing IPs of Music Library computers
Line 502: oncampus_ip_file - full filesystem path to file containing IPs of On Campus computers
Line 965: cmd - contains full filesystem path to ID translation script

...

Location:

/var/www/cgi-bin/

Language:

Perl

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="dfa588109238ed10-8d9fe4f8-490846d2-afce8e79-a5c82d1c37ec93e76f7a9769"><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.
This script now displays both UI and Darwin statistics.

Changes to make for test sites:

Line 28: filepath - filesystem path to statistics files generated by generateStats.pl and generateQTStats.pl
Line 29: v2URL - url of access page rendering script
Line 30: urlPath - url where comma delimited files and generated images can be found
Line 31: homepage - url of statistics about page
Line 282: CSS link is specified as urlPath/dml1.css

...

Location:

/home/dmlserv/dml/bin/

Language:

sh calling Java

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8535d3f82392b472-f7fb02e2-43cb4daa-a1d0b164-5f49bce5af302ebf3a9d0ced"><ac:plain-text-body><![CDATA[

Usage:

generateAccessPage.sh service_name [variationsID | variationsID_file] out_directory

]]></ac:plain-text-body></ac:structured-macro>

When to run:

Whenever a new Container is created or updated (not currently setup)

Notes:

Calls v2run on edu.indiana.dml.util.AccessPageGenerator.
variationsIDs (notis-style) passed to this script must be for Containers

Changes to make for test sites: