AFS-Monitor

 view release on metacpan or  search on metacpan

LICENSES/COPYING  view on Meta::CPAN

apply and the section as a whole is intended to apply in other
circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices.  Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

  8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding

LICENSES/IBM-LICENSE  view on Meta::CPAN

       
   b) its license agreement:
       
   i) effectively disclaims on behalf of all Contributors all warranties
       and conditions, express and implied, including warranties or
       conditions of title and non-infringement, and implied warranties
       or conditions of merchantability and fitness for a particular
       purpose;
       
   ii) effectively excludes on behalf of all Contributors all liability
       for damages, including direct, indirect, special, incidental and
       consequential damages, such as lost profits;
       
   iii) states that any provisions which differ from this Agreement are
       offered by that Contributor alone and not by any other party; and
       
   iv) states that source code for the Program is available from such
       Contributor, and informs licensees how to obtain it in a
       reasonable manner on or through a medium customarily used for
       software exchange.
       

examples/rxdebug  view on Meta::CPAN

    }
  }

  # print connections if they were returned
  if (exists $val->{connections}) {
    for (my $i = 0; $i <= $#{$val->{connections}}; $i++) { # print each connection
      print "Connection from host ", $val->{connections}->[$i]->{host},
            ", port ", $val->{connections}->[$i]->{port},", ";

      if ($val->{connections}->[$i]->{epoch}) {
        printf "Cuid %x/%x", $val->{connections}->[$i]->{epoch}, $val->{connections}->[$i]->{cid};
      } else {
        printf "cid %x", $val->{connections}->[$i]->{cid};
      }
      if ($val->{connections}->[$i]->{error}) {
        print ", error ", $val->{connections}->[$i]->{error};
      }
      print "\n  serial $val->{connections}->[$i]->{serial}, ";
      print " natMTU $val->{connections}->[$i]->{natMTU}, ";

      if ($val->{connections}->[$i]->{flags}) {
        print "flags";
        if ($val->{connections}->[$i]->{flags} & constant("RX_CONN_MAKECALL_WAITING")) {

examples/xstat_cm_test  view on Meta::CPAN


sub PrintUpDownStats {
  my $updown = shift;

  printf "\t\t%10d numTtlRecords\n",	$updown->{numTtlRecords};
  printf "\t\t%10d numUpRecords\n",	$updown->{numUpRecords};
  printf "\t\t%10d numDownRecords\n",	$updown->{numDownRecords};
  printf "\t\t%10d sumOfRecordAges\n",$updown->{sumOfRecordAges};
  printf "\t\t%10d ageOfYoungestRecord\n",$updown->{ageOfYoungestRecord};
  printf "\t\t%10d ageOfOldestRecord\n",$updown->{ageOfOldestRecord};
  printf "\t\t%10d numDowntimeIncidents\n",$updown->{numDowntimeIncidents};
  printf "\t\t%10d numRecordsNeverDown\n",$updown->{numRecordsNeverDown};
  printf "\t\t%10d maxDowntimesInARecord\n",$updown->{maxDowntimesInARecord};
  printf "\t\t%10d sumOfDowntimes\n",	$updown->{sumOfDowntimes};
  printf "\t\t%10d shortestDowntime\n",$updown->{shortestDowntime};
  printf "\t\t%10d longestDowntime\n",$updown->{longestDowntime};

  printf "\t\tDowntime duration distribution:\n";
  printf "\t\t\t%8d: 0 min .. 10 min\n",  $updown->{downDurations}->[0];
  printf "\t\t\t%8d: 10 min .. 30 min\n", $updown->{downDurations}->[1];
  printf "\t\t\t%8d: 30 min .. 1 hr\n",   $updown->{downDurations}->[2];
  printf "\t\t\t%8d: 1 hr .. 2 hr\n",     $updown->{downDurations}->[3];
  printf "\t\t\t%8d: 2 hr .. 4 hr\n",     $updown->{downDurations}->[4];
  printf "\t\t\t%8d: 4 hr .. 8 hr\n",     $updown->{downDurations}->[5];
  printf "\t\t\t%8d: > 8 hr\n",           $updown->{downDurations}->[6];

  printf "\t\tDowntime incident distribution:\n";
  printf "\t\t\t%8d: 0 times\n",        $updown->{downIncidents}->[0];
  printf "\t\t\t%8d: 1 time\n",         $updown->{downIncidents}->[1];
  printf "\t\t\t%8d: 2 .. 5 times\n",   $updown->{downIncidents}->[2];
  printf "\t\t\t%8d: 6 .. 10 times\n",  $updown->{downIncidents}->[3];
  printf "\t\t\t%8d: 10 .. 50 times\n", $updown->{downIncidents}->[4];
  printf "\t\t\t%8d: > 50 times\n",     $updown->{downIncidents}->[5];
}


sub PrintRPCPerfInfo {
  my $rpc = shift;

  print "FS Operation Timings:\n---------------------\n";
  foreach (sort keys %{$rpc->{fsRPCTimes}}) {
    printf "%15s: %d ops (%d OK); sum=%f, sqr=%f, min=%f, max=%f\n",
           $_,

pod/afsmon_stats.pod  view on Meta::CPAN

=item *

fs_sc_ageOfYoungestRecord: Age of youngest fileserver record.

=item *

fs_sc_ageOfOldestRecord: Age of oldest fileserver record.

=item *

fs_sc_numDowntimeIncidents: Number of (completed) downtime incidents.

=item *

fs_sc_numRecordsNeverDown: Number of fileserver records never marked down.

=item *

fs_sc_maxDowntimesInARecord: Maximum downtimes seen by any fileserver record.

=item *

pod/afsmon_stats.pod  view on Meta::CPAN

=item *

fs_sc_shortestDowntime: Shortest downtime, in seconds.

=item *

fs_sc_longestDowntime: Longest downtime, in seconds.

=item *

fs_sc_down_0_10_min: Down time incidents: 0-10 minutes.

=item *

fs_sc_down_10_30_min: Down time incidents: 10-30 minutes.

=item *

fs_sc_down_half_1_hr: Down time incidents: 30-60 minutes.

=item *

fs_sc_down_1_2_hr: Down time incidents: 1-2 hours.

=item *

fs_sc_down_2_4_hr: Down time incidents: 2-4 hours.

=item *

fs_sc_down_4_8_hr: Down time incidents: 4-8 hours.

=item *

fs_sc_down_more_8_hr: Down time incidents: more than 8 hours.

=item *

fs_sc_downDst_0: Down time incidents: 0 times.

=item *

fs_sc_downDst_1: Down time incidents: 1 time.

=item *

fs_sc_downDst_2_5: Down time incidents: 2-5 times.

=item *

fs_sc_downDst_6_10: Down time incidents: 6-10 times.

=item *

fs_sc_downDst_10_50: Down time incidents: 10-50 times.

=item *

fs_sc_downDst_more_50: Down time incidents: more than 50 times.

=back

File Server Up/Down Statistics in Other Cells Group (FS_upDown_OC_group)

=over

=item *

fs_oc_numTtlRecords: Number of fileserver records, active or inactive.

pod/afsmon_stats.pod  view on Meta::CPAN

=item *

fs_oc_ageOfYoungestRecord: Age of youngest fileserver record.

=item *

fs_oc_ageOfOldestRecord: Age of oldest fileserver record.

=item *

fs_oc_numDowntimeIncidents: Number of (completed) downtime incidents.

=item *

fs_oc_numRecordsNeverDown: Number of fileserver records never marked down.

=item *

fs_oc_maxDowntimesInARecord: Maximum downtimes seen by any fileserver.

=item *

pod/afsmon_stats.pod  view on Meta::CPAN

=item *

fs_oc_shortestDowntime: Shortest downtime, in seconds.

=item *

fs_oc_longestDowntime: Longest downtime, in seconds.

=item *

fs_oc_down_0_10_min: Down time incidents: 0-10 minutes.

=item *

fs_oc_down_10_30_min: Down time incidents: 10-30 minutes.

=item *

fs_oc_down_half_1_hr: Down time incidents: 30-60 minutes.

=item *

fs_oc_down_1_2_hr: Down time incidents: 1-2 hours.

=item *

fs_oc_down_2_4_hr: Down time incidents: 2-4 hours.

=item *

fs_oc_down_4_8_hr: Down time incidents: 4-8 hours.

=item *

fs_oc_down_more_8_hr: Down time incidents: more than 8 hours.

=item *

fs_oc_downDst_0: Down time incidents: 0 times.

=item *

fs_oc_downDst_1: Down time incidents: 1 time.

=item *

fs_oc_downDst_2_5: Down time incidents: 2-5 times.

=item *

fs_oc_downDst_6_10: Down time incidents: 6-10 times.

=item *

fs_oc_downDst_10_50: Down time incidents: 10-50 times.

=item *

fs_oc_downDst_more_50: Down time incidents: more than 50 times.

=back

VL Server Up/Down Statistics in Same Cell Group (VL_upDown_SC_group)

=over

=item *

vl_sc_numTtlRecords: Number of vlserver records, active or inactive.

pod/afsmon_stats.pod  view on Meta::CPAN

=item *

vl_sc_ageOfYoungestRecord: Age of youngest vlserver record.

=item *

vl_sc_ageOfOldestRecord: Age of oldest vlserver record.

=item *

vl_sc_numDowntimeIncidents: Number of (completed) downtime incidents.

=item *

vl_sc_numRecordsNeverDown: Number of vlserver records never marked down.

=item *

vl_sc_maxDowntimesInARecord: Maximum downtimes seen by any vlserver record.

=item *

pod/afsmon_stats.pod  view on Meta::CPAN

=item *

vl_sc_shortestDowntime: Shortest downtime, in seconds.

=item *

vl_sc_longestDowntime: Longest downtime, in seconds.

=item *

vl_sc_down_0_10_min: Down time incidents: 0-10 minutes.

=item *

vl_sc_down_10_30_min: Down time incidents: 10-30 minutes.

=item *

vl_sc_down_half_1_hr: Down time incidents: 30-60 minutes.

=item *

vl_sc_down_1_2_hr: Down time incidents: 1-2 hours.

=item *

vl_sc_down_2_4_hr: Down time incidents: 2-4 hours.

=item *

vl_sc_down_4_8_hr: Down time incidents: 4-8 hours.

=item *

vl_sc_down_more_8_hr: Down time incidents: more than 8 hours.

=item *

vl_sc_downDst_0: Down time incidents: 0 times.

=item *

vl_sc_downDst_1: Down time incidents: 1 time.

=item *

vl_sc_downDst_2_5: Down time incidents: 2-5 times.

=item *

vl_sc_downDst_6_10: Down time incidents: 6-10 times.

=item *

vl_sc_downDst_10_50: Down time incidents: 10-50 times.

=item *

vl_sc_downDst_more_50: Down time incidents: more than 50 times.

=back

VL Server Up/Down Statistics in Other Cells Group (VL_upDown_DC_group)

=over

=item *

vl_oc_numTtlRecords: Number of vlserver records, active or inactive.

pod/afsmon_stats.pod  view on Meta::CPAN

=item *

vl_oc_ageOfYoungestRecord: Age of youngest vlserver record.

=item *

vl_oc_ageOfOldestRecord: Age of oldest vlserver record.

=item *

vl_oc_numDowntimeIncidents: Number of (completed) downtime incidents.

=item *

vl_oc_numRecordsNeverDown: Number of vlserver records never marked down.

=item *

vl_oc_maxDowntimesInARecord: Maximum downtimes seen by any vlserver record.

=item *

pod/afsmon_stats.pod  view on Meta::CPAN

=item *

vl_oc_shortestDowntime: Shortest downtime, in seconds.

=item *

vl_oc_longestDowntime: Longest downtime, in seconds.

=item *

vl_oc_down_0_10_min: Down time incidents: 0-10 minutes.

=item *

vl_oc_down_10_30_min: Down time incidents: 10-30 minutes.

=item *

vl_oc_down_half_1_hr: Down time incidents: 30-60 minutes.

=item *

vl_oc_down_1_2_hr: Down time incidents: 1-2 hours.

=item *

vl_oc_down_2_4_hr: Down time incidents: 2-4 hours.

=item *

vl_oc_down_4_8_hr: Down time incidents: 4-8 hours.

=item *

vl_oc_down_more_8_hr: Down time incidents: more than 8 hours.

=item *

vl_oc_downDst_0: Down time incidents: 0 times.

=item *

vl_oc_downDst_1: Down time incidents: 1 time.

=item *

vl_oc_downDst_2_5: Down time incidents: 2-5 times.

=item *

vl_oc_downDst_6_10: Down time incidents: 6-10 times.

=item *

vl_oc_downDst_10_50: Down time incidents: 10-50 times.

=item *

vl_oc_downDst_more_50: Down time incidents: more than 50 times.

=back

=head2 RPC Operation Measurements Section (RPCop_section)

File Server RPC Operation Timings Group (FS_RPCopTimes_group)

=over

=item *

src/Monitor.xs  view on Meta::CPAN


   return (0);
}   /* my_fs_Results_ltoa() */



void
fs_Results_to_Hash(struct fs_Display_Data *fsData, HV *HOSTINFO,
                   short *showFlags, int showDefault)
{
   int secidx;
   int grpidx;
   int numgrp;
   int fromidx;
   int toidx;
   char section[CFG_STR_LEN] = "";
   char group[CFG_STR_LEN] = "";
   HV *ENTRY;
   HV *GROUP;
   HV *SECTION;
   int i;

   secidx = 0;
   grpidx = secidx + 1;

   while (secidx < FS_NUM_DATA_CATEGORIES) {

      sscanf(fs_categories[secidx], "%s %d", section, &numgrp);
      SECTION = newHV();

      while (grpidx <= secidx + numgrp) {
         GROUP = newHV();
         sscanf(fs_categories[grpidx], "%s %d %d", group, &fromidx, &toidx);
         for (i = fromidx; i <= toidx; i++) {
            if (showFlags[i] || showDefault) {
               ENTRY = newHV();
               hv_store(ENTRY, "value", 5, newSVnv(atof(fsData->data[i])), 0);
               hv_store(GROUP, fs_varNames[i], strlen(fs_varNames[i]),
                        newRV_inc((SV *) ENTRY), 0);
            }
         }
         if (HvKEYS(GROUP))
            hv_store(SECTION, group, strlen(group), newRV_inc((SV *) GROUP),
                     0);
         grpidx++;
      }
      if (HvKEYS(SECTION))
         hv_store(HOSTINFO, section, strlen(section),
                  newRV_inc((SV *) SECTION), 0);
      secidx += numgrp + 1;
      grpidx = secidx + 1;
   }
}   /* fs_Results_to_Hash() */



/*
 * from src/afsmonitor/afsmonitor.c
 *    ("$Header: /afs/slac/g/scs/slur/Repository/AFSDebug/Debug/src/Monitor.xs,v 1.2 2006/07/05 22:25:10 alfw Exp $");
 */

src/Monitor.xs  view on Meta::CPAN

    */
   fprintf(cm_outFD, "\t\t%10d numTtlRecords\n", a_upDownP->numTtlRecords);
   fprintf(cm_outFD, "\t\t%10d numUpRecords\n", a_upDownP->numUpRecords);
   fprintf(cm_outFD, "\t\t%10d numDownRecords\n", a_upDownP->numDownRecords);
   fprintf(cm_outFD, "\t\t%10d sumOfRecordAges\n",
           a_upDownP->sumOfRecordAges);
   fprintf(cm_outFD, "\t\t%10d ageOfYoungestRecord\n",
           a_upDownP->ageOfYoungestRecord);
   fprintf(cm_outFD, "\t\t%10d ageOfOldestRecord\n",
           a_upDownP->ageOfOldestRecord);
   fprintf(cm_outFD, "\t\t%10d numDowntimeIncidents\n",
           a_upDownP->numDowntimeIncidents);
   fprintf(cm_outFD, "\t\t%10d numRecordsNeverDown\n",
           a_upDownP->numRecordsNeverDown);
   fprintf(cm_outFD, "\t\t%10d maxDowntimesInARecord\n",
           a_upDownP->maxDowntimesInARecord);
   fprintf(cm_outFD, "\t\t%10d sumOfDowntimes\n", a_upDownP->sumOfDowntimes);
   fprintf(cm_outFD, "\t\t%10d shortestDowntime\n",
           a_upDownP->shortestDowntime);
   fprintf(cm_outFD, "\t\t%10d longestDowntime\n",
           a_upDownP->longestDowntime);

src/Monitor.xs  view on Meta::CPAN

   fprintf(cm_outFD, "\t\t\t%8d: 30 min .. 1 hr\n",
           a_upDownP->downDurations[2]);
   fprintf(cm_outFD, "\t\t\t%8d: 1 hr .. 2 hr\n",
           a_upDownP->downDurations[3]);
   fprintf(cm_outFD, "\t\t\t%8d: 2 hr .. 4 hr\n",
           a_upDownP->downDurations[4]);
   fprintf(cm_outFD, "\t\t\t%8d: 4 hr .. 8 hr\n",
           a_upDownP->downDurations[5]);
   fprintf(cm_outFD, "\t\t\t%8d: > 8 hr\n", a_upDownP->downDurations[6]);

   fprintf(cm_outFD, "\t\tDowntime incident distribution:\n");
   fprintf(cm_outFD, "\t\t\t%8d: 0 times\n", a_upDownP->downIncidents[0]);
   fprintf(cm_outFD, "\t\t\t%8d: 1 time\n", a_upDownP->downIncidents[1]);
   fprintf(cm_outFD, "\t\t\t%8d: 2 .. 5 times\n",
           a_upDownP->downIncidents[2]);
   fprintf(cm_outFD, "\t\t\t%8d: 6 .. 10 times\n",
           a_upDownP->downIncidents[3]);
   fprintf(cm_outFD, "\t\t\t%8d: 10 .. 50 times\n",
           a_upDownP->downIncidents[4]);
   fprintf(cm_outFD, "\t\t\t%8d: > 50 times\n", a_upDownP->downIncidents[5]);

}   /* my_Print_cm_UpDownStats() */


/*
 * from src/afsmonitor/afsmon-output.c
 *    ("$Header: /afs/slac/g/scs/slur/Repository/AFSDebug/Debug/src/Monitor.xs,v 1.2 2006/07/05 22:25:10 alfw Exp $");
 */

void

src/Monitor.xs  view on Meta::CPAN





/* cm_Results_to_Hash() */

void
cm_Results_to_Hash(struct cm_Display_Data *cmData, HV *HOSTINFO,
                   short *showFlags, int showDefault)
{
   int secidx;
   int grpidx;
   int numgrp;
   int fromidx;
   int toidx;
   char section[CFG_STR_LEN] = "";
   char group[CFG_STR_LEN] = "";
   HV *ENTRY;
   HV *GROUP;
   HV *SECTION;
   int i;

   secidx = 0;
   grpidx = secidx + 1;

   while (secidx < CM_NUM_DATA_CATEGORIES) {

      sscanf(cm_categories[secidx], "%s %d", section, &numgrp);
      SECTION = newHV();

      while (grpidx <= secidx + numgrp) {
         GROUP = newHV();
         sscanf(cm_categories[grpidx], "%s %d %d", group, &fromidx, &toidx);
         for (i = fromidx; i <= toidx; i++) {
            if (showFlags[i] || showDefault) {
               ENTRY = newHV();
               hv_store(ENTRY, "value", 5, newSVnv(atof(cmData->data[i])), 0);
               hv_store(GROUP, cm_varNames[i], strlen(cm_varNames[i]),
                        newRV_inc((SV *) ENTRY), 0);
            }
         }
         if (HvKEYS(GROUP))
            hv_store(SECTION, group, strlen(group), newRV_inc((SV *) GROUP),
                     0);
         grpidx++;
      }
      if (HvKEYS(SECTION))
         hv_store(HOSTINFO, section, strlen(section),
                  newRV_inc((SV *) SECTION), 0);
      secidx += numgrp + 1;
      grpidx = secidx + 1;
   }
}   /* cm_Results_to_Hash() */



/*
 * from src/afsmonitor/afsmonitor.c:
 *    ("$Header: /afs/slac/g/scs/slur/Repository/AFSDebug/Debug/src/Monitor.xs,v 1.2 2006/07/05 22:25:10 alfw Exp $");
 */

src/Monitor.xs  view on Meta::CPAN

   hv_store(INFO, "numUpRecords", strlen("numUpRecords"),
            newSViv(a_upDownP->numUpRecords), 0);
   hv_store(INFO, "numDownRecords", strlen("numDownRecords"),
            newSViv(a_upDownP->numDownRecords), 0);
   hv_store(INFO, "sumOfRecordAges", strlen("sumOfRecordAges"),
            newSViv(a_upDownP->sumOfRecordAges), 0);
   hv_store(INFO, "ageOfYoungestRecord", strlen("ageOfYoungestRecord"),
            newSViv(a_upDownP->ageOfYoungestRecord), 0);
   hv_store(INFO, "ageOfOldestRecord", strlen("ageOfOldestRecord"),
            newSViv(a_upDownP->ageOfOldestRecord), 0);
   hv_store(INFO, "numDowntimeIncidents", strlen("numDowntimeIncidents"),
            newSViv(a_upDownP->numDowntimeIncidents), 0);
   hv_store(INFO, "numRecordsNeverDown", strlen("numRecordsNeverDown"),
            newSViv(a_upDownP->numRecordsNeverDown), 0);
   hv_store(INFO, "maxDowntimesInARecord", strlen("maxDowntimesInARecord"),
            newSViv(a_upDownP->maxDowntimesInARecord), 0);
   hv_store(INFO, "sumOfDowntimes", strlen("sumOfDowntimes"),
            newSViv(a_upDownP->sumOfDowntimes), 0);
   hv_store(INFO, "shortestDowntime", strlen("shortestDowntime"),
            newSViv(a_upDownP->shortestDowntime), 0);
   hv_store(INFO, "longestDowntime", strlen("longestDowntime"),
            newSViv(a_upDownP->longestDowntime), 0);

   /*
    * Now, print the array values.
    */
   for (i = 0; i <= 6; i++) {
      av_store(DOWNDURATIONS, i, newSViv(a_upDownP->downDurations[i]));
   }
   for (i = 0; i <= 5; i++) {
      av_store(DOWNINCIDENTS, i, newSViv(a_upDownP->downIncidents[i]));
   }
   hv_store(INFO, "downDurations", 13, newRV_inc((SV *) DOWNDURATIONS), 0);
   hv_store(INFO, "downIncidents", 13, newRV_inc((SV *) DOWNINCIDENTS), 0);
   av_store(UPDOWN, index, newRV_inc((SV *) INFO));
}


/*
 * from src/xstat/xstat_cm_test.c
 *    ("$Header: /afs/slac/g/scs/slur/Repository/AFSDebug/Debug/src/Monitor.xs,v 1.2 2006/07/05 22:25:10 alfw Exp $");
 */

void

src/Monitor.xs  view on Meta::CPAN

      CONNECTIONS = newAV();
      index = 0;
      for ( i = 0; ; i++) {
        code = rx_GetServerConnections(s, host, port, &nextconn, allconns,
                      supportedDebugValues, &tconn,
                      &supportedConnValues);
        if (code < 0) {
          warn("getconn call failed with code %d\n", code);
          break;
        }
        if (tconn.cid == 0xffffffff) {
          break;
        }

        /* see if we're in nodally mode and all calls are dallying */
        if (nodally) {
          flag = 0;
          for (j = 0; j < RX_MAXCALLS; j++) {
             if (tconn.callState[j] != RX_STATE_NOTINIT &&
                 tconn.callState[j] != RX_STATE_DALLY) {
               flag = 1;

src/Monitor.xs  view on Meta::CPAN

            if (tconn.securityIndex != 2) continue;
            if (withSecStats && (tconn.secStats.type == 3) &&
             (tconn.secStats.level != onlyAuth)) continue;
          }
        }
        TCONN = newHV();
        hostAddr.s_addr = tconn.host;
        hv_store(TCONN, "host", 4, newSVpv(inet_ntoa(hostAddr), 0), 0);
        hv_store(TCONN, "port", 4, newSViv(ntohs(tconn.port)), 0);

        hv_store(TCONN, "cid", 3, newSViv(tconn.cid), 0);
        hv_store(TCONN, "epoch", 5, newSViv(tconn.epoch), 0);
        hv_store(TCONN, "error", 5, newSViv(tconn.error), 0);
        hv_store(TCONN, "serial", 6, newSViv(tconn.serial), 0);
        hv_store(TCONN, "natMTU", 6, newSViv(tconn.natMTU), 0);

        hv_store(TCONN, "flags", 5, newSViv(tconn.flags), 0);

        hv_store(TCONN, "securityIndex", 13, newSViv(tconn.securityIndex), 0);

        hv_store(TCONN, "type", 4, newSViv(tconn.type), 0);

src/afsmon-labels.h  view on Meta::CPAN

"srvMaxChainLength",
"srvMaxChainLengthHWM",
"srvRecordsHWM",
"sysName_ID",
"fs_sc_numTtlRecords",	/* file server server up/down stats for same cell */
"fs_sc_numUpRecords",
"fs_sc_numDownRecords",
"fs_sc_sumOfRecordAges",
"fs_sc_ageOfYoungestRecord",
"fs_sc_ageOfOldestRecord",
"fs_sc_numDowntimeIncidents",
"fs_sc_numRecordsNeverDown",
"fs_sc_maxDowntimesInARecord",
"fs_sc_sumOfDowntimes",
"fs_sc_shortestDowntime",
"fs_sc_longestDowntime",
"fs_sc_down_0_10_min",
"fs_sc_down_10_30_min",
"fs_sc_down_half_1_hr",
"fs_sc_down_1_2_hr",
"fs_sc_down_2_4_hr",

src/afsmon-labels.h  view on Meta::CPAN

"fs_sc_downDst_2_5",
"fs_sc_downDst_6_10",
"fs_sc_downDst_10_50",
"fs_sc_downDst_more_50",
"fs_oc_numTtlRecords",	/* file server server up/down stats for other cells */
"fs_oc_numUpRecords",
"fs_oc_numDownRecords",
"fs_oc_sumOfRecordAges",
"fs_oc_ageOfYoungestRecord",
"fs_oc_ageOfOldestRecord",
"fs_oc_numDowntimeIncidents",
"fs_oc_numRecordsNeverDown",
"fs_oc_maxDowntimesInARecord",
"fs_oc_sumOfDowntimes",
"fs_oc_shortestDowntime",
"fs_oc_longestDowntime",
"fs_oc_down_0_10_min",
"fs_oc_down_10_30_min",
"fs_oc_down_half_1_hr",
"fs_oc_down_1_2_hr",
"fs_oc_down_2_4_hr",

src/afsmon-labels.h  view on Meta::CPAN

"fs_oc_downDst_2_5",
"fs_oc_downDst_6_10",
"fs_oc_downDst_10_50",
"fs_oc_downDst_more_50",
"vl_sc_numTtlRecords",	/* vl server up/down stats for same cell */
"vl_sc_numUpRecords",
"vl_sc_numDownRecords",
"vl_sc_sumOfRecordAges",
"vl_sc_ageOfYoungestRecord",
"vl_sc_ageOfOldestRecord",
"vl_sc_numDowntimeIncidents",
"vl_sc_numRecordsNeverDown",
"vl_sc_maxDowntimesInARecord",
"vl_sc_sumOfDowntimes",
"vl_sc_shortestDowntime",
"vl_sc_longestDowntime",
"vl_sc_down_0_10_min",
"vl_sc_down_10_30_min",
"vl_sc_down_half_1_hr",
"vl_sc_down_1_2_hr",
"vl_sc_down_2_4_hr",

src/afsmon-labels.h  view on Meta::CPAN

"vl_sc_downDst_2_5",
"vl_sc_downDst_6_10",
"vl_sc_downDst_10_50",
"vl_sc_downDst_more_50",
"vl_oc_numTtlRecords",	/* vl server up/down stats for other cells */
"vl_oc_numUpRecords",
"vl_oc_numDownRecords",
"vl_oc_sumOfRecordAges",
"vl_oc_ageOfYoungestRecord",
"vl_oc_ageOfOldestRecord",
"vl_oc_numDowntimeIncidents",
"vl_oc_numRecordsNeverDown",
"vl_oc_maxDowntimesInARecord",
"vl_oc_sumOfDowntimes",
"vl_oc_shortestDowntime",
"vl_oc_longestDowntime",
"vl_oc_down_0_10_min",
"vl_oc_down_10_30_min",
"vl_oc_down_half_1_hr",
"vl_oc_down_1_2_hr",
"vl_oc_down_2_4_hr",



( run in 0.710 second using v1.01-cache-2.11-cpan-4505f990765 )