Availability:
     Online     , '`'

  Quick Help:
     Display Read/Write Statistics

  Description:
    This command displays read and write error counters for each head.

    Use online '$' to get error rates by zone.

    Error 100C DETSEC 00008000
    - this error is caused by the error stats log being not initialized.
    Hit ctl-W to initialize the error log.

  Related Commands:
    any level Ctl-W - enables RW statistics gathering and zeros out the error counters
    level L i   - L>iFFFD will zero out the error counters.
    level L E   - L>E,,0 will disable statistics gathering
                - L>E,,1 will enable statistics gathering
                - L>E,,2 will zero out the error counters

  Input Parameters:
    None

  Output Data:

    
         Rbit  Hard  Soft  OTF   Raw   Rsym  Sym   Wbit  Whrd  Wrty
         X.X   X.X   X.X   X.X   X.X   X.X   X.X   X.X   X.X   X.X
         X.X   X.X   X.X   X.X   X.X   X.X   X.X   X.X   X.X   X.X
    
         Where X.X is the log base 10 value as follows:
    
         Rbit: The number of BITS drive successfully read.  This counter increments by
               (bytes per sector) * 8 for each sector successfully read.
    
               This value is forced to be at least equal to the raw error rate.  This is
               to prevent the math from blowing up if no sectors have been successfully
               read.
    
         Hard: Records errors that could not be read.  This counter increments by one per
               set of retires.
    
         Soft: Records errors that required one or more retries, including errors that could not
               be read.  This counter increments by one per set of retries.
    
         OTF:  Records any error that caused the disk sequencer to stop.  This counter
               increments by one for each ECC'd data field that needed correction.  Note that
               4 by 1K sector drives can therefore get this counter incremented by 4 for one
               disk sector read.  This counter increments on each separate retry.
    
         Raw:  Records count of all sectors in error that the disk encountered, including
               those sectors the disk was able to correct.  A given sector will only increment
               this counter by 1 no matter how many symbols are in error.  ( This accounting
               is just like ST-10 code. )
    
         Rsym: The number of symbols the drive attempted to read.  This includes user data,
               IOECD, and ECC fields.  Each time a sector read is retried, the number of
               symbols read is incremented by the number of symbols in a sector.
    
         Sym:  Symbol based error rate.  This is
               -1 * log10 ( bad symbols reported by hardware / symbols read )
    
         Wbit: The number of BITS drive succesfully wrote.  This counter increments by
               (bytes per sector) * 8 once for each sector successfully written.
    
               This value is forced to be at least equal to the Wrty value.  This is to
               prevent the math from blowing up if no sectors have been successfully
               written.
    
         Whrd: Write hard errors.  This counter increments by one each time the drive fails
               to write a sector.  This counter only increments once per set of retries.
    
         Wrty: Records errors that required one or more retries but did not require
               full error recovery configuration to write. This counter increments
               by one per set of retries.
    
    Example:
         10 512 byte sectors read  ( 10*512*8 bits )
         18 OTF corrections
         4 soft errors
         2 hard errors
       --- --- --- --- --- --- --- --- ---
       rbit = log10 (8*512*8)
       hard = log10 (    2     / (8*512*8) )
       soft = log10 (  (2+4)   / (8*512*8) )
       OTF  = log10 ( (2+4+18) / (8*512*8) )
    
  Examples:

    Example #1:

        F3 2> `
               Rbit  Hard  Soft  OTF   Raw   Rsym  Sym   Wbit  Whrd  Wrty
        Hd 0   9.4   9.4   9.4   9.4   5.9   8.5   4.9   0.0   0.0   0.0
        Hd 1   9.3   9.3   9.3   9.3   5.9   8.4   4.9   0.0   0.0   0.0

  Revision History:

    0001.0000   Initial revision.
    0001.0001   Changed how stats are calculated if no successful transfers have occurred.
    0011.0000   Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
                Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
                (DiagError).
    0011.0001   Improve accuracy of logarithm math.
    0012.0000   Added support for symbol based error rates.
    0012.0001   Add support for sector sizes other than 512 bytes.