{
{   CML$ICA_STATISTICS
{
{   PURPOSE :
{      This message contains the statistics maintained by the ICA
{   software.  Two levels of statistics may be reported; a symptom
{   code will indicate which type is being sent.
{
{   FREQUENCY :
{      At the interval configured by the last SET ICA PARAMETERS
{   function issued by the PP.
{
{   CONTENT :
{      The descriptive-data portion of this statistic contains :
{
{      '<mf>.<iou>.<pp>.<channel>.<element>*<symptom>'
{
{      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 <iou> is the string 'IOUn' where n is 0 or 1.  This
{        identifies the IOU associated with the channel over which
{        the statistic was reported.
{
{      where <pp> is the string 'PPn' or 'CPPn' where 'n' is the decimal
{        representation of the physical PP number used to process
{        the failing request. The C prefix is used to indicate that
{        the PP is a concurrent PP.
{
{      where <channel> is  the string 'CHn' or 'CCHn' ,
{        where 'n' is the decimal representation of the channel.
{        The C prefix is used to indicate that the channel is
{        a concurrent channel.
{
{      where <element> is the element name of the ICA.
{
{      where <symptom> is the symptom action statement provided
{        by the ICA:
{
{           'ICA Statistics'
{
{      The counter-value portion of this statistic contains :
{
{      1.   IOU number/Logical PP number
{           Bits 46 .. 51 = IOU number
{           bit  57       = 1 if concurrent pp
{           Bits 58 .. 63 = logical PP number
{      2.   IOU number/Channel Number of Controller
{           bits 00 .. 15 = channel error status if concurrent pp
{           Bits 46 .. 51 = IOU number
{           bit  57       = 1 if concurrent pp
{           Bits 58 .. 63 = Channel Number of Controller
{      3.   Symptom Code
{
{           1 - Summary Statistics Follow.
{           2 - Detail Statistics Follow.
{
{      4.   Time interval in seconds  over  which  the  statistics
{           being sent have been maintained.
{      5.   Messages  received  at  the ethernet interface with no
{           errors.
{      6.   Messages received at the ethernet  interface  with  an
{           error  and discarded.  (Sum of detailed statistics 15 - 18, 45).
{      7.   Number of messages transmitted.
{      8.   Number of messages retransmitted.
{      9.   Output messages which could not be transmitted due  to
{           excessive errors.
{      10.  # of characters received on ethernet
{      11.  # of characters transmitted on ethernet
{      12.  #  of  all  ethernet  related  errors (Sum of detailed
{           statistics 15 - 22, 45, 46).
{      13.  #  of  all  ICA  transient  errors  (Sum  of  detailed
{           statistics 43 and 44.)
{      14.  #  of all ICI interface errors (Number of times the CE
{           bit set in the general status.)
{      15.  # of CRC errors on received frames
{      16.  # of alignment errors on received frames
{      17.  # of resource errors on received frames.
{      18.  # of over runs
{      19.  # of collisions
{      20.  # of frames exceeding collision threshold
{      21.  # of transmissions aborted with no clear to send
{      22.  # of transmissions aborted with no carrier sense
{      23.  Average length of message transmitted across the ethernet
{           in bytes.
{      24.  Number of messages transmitted across ethernet with lengths
{           in the range of 0 thru 100 (inclusive).
{      25.  Number of messages transmitted across ethernet with lengths
{           in the range of 101 thru 300 (inclusive).
{      26.  Number of messages transmitted across ethernet with lengths
{           in the range of 301 thru 500 (inclusive).
{      27.  Number of messages transmitted across ethernet with lengths
{           in the range of 501 thru 700 (inclusive).
{      28.  Number of messages transmitted across ethernet with lengths
{           in the range of 701 thru 900 (inclusive).
{      29.  Number of messages transmitted across ethernet with lengths
{           in the range of 901 thru 1100 (inclusive).
{      30.  Number of messages transmitted across ethernet with lengths
{           in the range of 1101 thru 1300 (inclusive).
{      31.  Number of messages transmitted across ethernet with lengths
{           in the range greater than or equal to 1301.
{      32.  Average length of messages received from ethernet (in bytes)
{      33.  Number of messages received across ethernet with lengths
{           in the range of 0 thru 100 (inclusive).
{      34.  Number of messages received across ethernet with lengths
{           in the range of 101 thru 300 (inclusive).
{      35.  Number of messages received across ethernet with lengths
{           in the range of 301 thru 500 (inclusive).
{      36.  Number of messages received across ethernet with lengths
{           in the range of 501 thru 700 (inclusive).
{      37.  Number of messages received across ethernet with lengths
{           in the range of 701 thru 900 (inclusive).
{      38.  Number of messages received across ethernet with lengths
{           in the range of 901 thru 1100 (inclusive).
{      39.  Number of messages received across ethernet with lengths
{           in the range of 1101 thru 1300 (inclusive).
{      40.  Number of messages received across ethernet with lengths
{           in the range greater than or equal to 1301.
{      41.  single-bit SECDED parity errors
{      42.  ICA Congestion -- This counter  is  incremented  each
{           time  the  buffer  usage for messages coming from the
{           ethernet interface reaches 90%.  The counter is  only
{           incremented  once  per occurrence.  Therefore, if the
{           ICA  is  congested  during   the   entire   reporting
{           interval,  this  counter  will have a value of 1.  An
{           occurrence lasts until the  number  of  free  buffers
{           falls to 50% of the total.
{      43.  # of ethernet controller errors (recovered w/o reset)
{      44.  # of dma controller errors (recovered w/o reset)
{      45.  # of length errors on ethernet received frames.
{      46.  # of underruns on frame transmissions.
{
{** Counters 15 - 46 are only sent if this message represents a Detail
{   Statistics Packet.

    CONST
       cml$ica_statistics = cmc$min_ecc + 7105;


*copyc cmc$condition_limits
