{
{  DECK=CML$OPTICAL_DISK_DEVICE_USAGE_DATA
{
{
{ PURPOSE:
{    The purpose of this statistic is to record the amount of work
{     performed by a particular disk storage device. This information is
{     used by maintenance personnel to measure the failure rate per
{     amount of service performed.
{
{ FREQUENCY:
{    This statistic is emitted every hour or each time a volume
{    is dismounted by the system.  If no i/o was performed to the
{    volume, this statistic is still emitted to record the fact that
{    the volume had been mounted; in this case the counter-values
{    are zeroed.
{
{ CONTENT:
{    The  descriptive-data portion of this statistic contains:
{
{    '<mf>.<controller>.<unit>*<vsn>'
{
{      where <mf> is the identification of the mainframe in the form
{        $SYSTEM_mmmm_ssss.  Where 'mmmm' is the model number of
{        Central Processor zero (CP0), e.g. 0990, and 'ssss' is the
{        serial number of that processor, e.g. 0104.
{
{      where <controller> is the element name of the optical storage
{        controller involved in the work being recorded.
{
{      where <unit> is the element name of the optical storage
{        device whose work is being recorded.
{
{      where <vsn> is the recorded-vsn of the volume which was
{        the object of the work performed.
{
{    The  counter-value portion of this statistic contains:
{
{    1.  Type of usage log entry.
{        0 - Volume dismount entry.
{        1 - Interval entry.
{        3 - Interval entry.  Last unit for the controller.
{    2.  Total number of sectors read from this storage device since the
{        the volume was mounted or since the last usage logging.
{    3.  Total number of sectors written to this storage device since
{        the volume was mounted or since the last usage logging.
{    4.  Total number of i/o requests issued for this storage device
{        the volume was mounted or since the last usage logging.
{    5.  Number of bytes per sector.
{

  CONST
    cml$optical_disk_usage_data = cmc$min_ecc + 7400;

*copyc cmc$condition_limits
