Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my @command_output = <$fh>;
    close $fh 
      or carp "ERROR: Couldn't close filehandle: $ERRNO\n";
    
  2. or download this
    Checking for SCSI ID:0
    ioc:0 vol_id:0 type:IM raidlevel:RAID-1 num_disks:2 size(GB):148 state
    +: OPTIMAL flags: ENABLED
    ...
    ioc:0 spare_id:2 scsi_id:255 vendor: product_id: revision: size(GB):14
    +9 state: MISSING flags: OUT_OF_SYNC sync_state: n/a ASC/ASCQ:0x00/0x0
    +0 SMART ASC/ASCQ:0x00/0x00
    scsi_id:1 100%
    scsi_id:0 100%