25 |
# '------------------' output width |
# '------------------' output width |
26 |
'In Progress', |
'In Progress', |
27 |
'In Progress/Failur', |
'In Progress/Failur', |
28 |
|
'In Progress/Errors', |
29 |
'Queuing', |
'Queuing', |
30 |
'Aborted', |
'Aborted', |
31 |
'Failed', |
'Failed', |
68 |
$media++; |
$media++; |
69 |
} elsif ($type !~ m/=+/) { |
} elsif ($type !~ m/=+/) { |
70 |
# don't report this on header! |
# don't report this on header! |
71 |
print STDERR "unknown type: $type"; |
print STDERR "unknown type: '$type'\n"; |
72 |
} |
} |
73 |
} |
} |
74 |
close(O); |
close(O); |
95 |
|
|
96 |
my $other; |
my $other; |
97 |
foreach (keys %backup) { |
foreach (keys %backup) { |
98 |
print STDERR "other backup: -->$_<--\n" if ($debug); |
print STDERR "unknown status backup: '$_'\n"; |
99 |
$other += $backup{$_}; |
$other += $backup{$_}; |
100 |
} |
} |
101 |
print $other || "0\n"; |
print $other || "0\n"; |
104 |
|
|
105 |
undef $other; |
undef $other; |
106 |
foreach (keys %restore) { |
foreach (keys %restore) { |
107 |
print STDERR "other restore -->$_<--\n" if ($debug); |
print STDERR "unkwown status restore: '$_'\n"; |
108 |
$other += $restore{$_}; |
$other += $restore{$_}; |
109 |
} |
} |
110 |
print $other || "0\n"; |
print $other || "0\n"; |