Help for this page

Select Code to Download


  1. or download this
    Checks: Running 'show port | match "Up    Yes" | count'
    Count: 23 lines
    
    Checks: Running 'show router interface | match "Up " | count'
    Count: 4 lines
    
  2. or download this
    open( INPUT, "$folder/$file" ) or die("Could not open $file file");
    while ( my $line = <INPUT> ) {
    next if ( $line =~ m/show port/ );
    ...
            $checks{l3}{$stage} = $1;
          }
    }
    
  3. or download this
    23
    4
    
  4. or download this
    $VAR1 = {
              'card' => {
    ...
                         'pre' => '14'
                       }
            };