Help for this page

Select Code to Download


  1. or download this
    foreach my $disk (@tab_disks) {
        my $pid = fork();
    ...
          exit;
        }
      }
    
  2. or download this
    my $cmd = 'ssh -qt ' . $disk->{controller_ipaddr} . ' "sudo '. $CMD_ST
    +ORCLI . ' /c0/e' . $disk->{physical_id} . '/s' . $disk->{slot_id} . '
    + show 2>&1"';
      $logger->debug("Execute command : " . $cmd);
    ...
      }
      close COMD;
      $logger->debug("Command exit status : " . $?);