ytd_report

Purpose:

Generate a facility wide utilization report covering the weeks from the beginning of year.

Enter:

ytd_report <interval=[week | fin_week]> [n=number_years]

Where:

interval

Optional. Specify one of the following the time intervals:

  • week (midnight to midnight)
  • fin_week (7am to 7am); this is theĀ default
number_years

Optional. Specify the number of years to go back. The default is the current year.

Example:

ytd_report interval=fin_week > /data/util/YTD_REPORT
Produces a weekly report from the previous Monday-7am back to the beginning of the year.

ytd_report n=2 interval=week > /data/util/x
Produces a weekly report from the previous Sunday-midnight back to the beginning of the previous year.

Notes:

This program relies on the existence of several data files, including /data/meters/meterlog.NNN, when NNN is the test cell number of all the test cells at the site.

For a more comprehensive description of the system requirements for utilization reports, see /admin/docs/utilization

See Also: