Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ush/minmon_xtrct_costs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,13 @@

if( -e $filename2 ) {
my $newfile2 = "${tankdir}/${filename2}";
system("cpfs $filename2 $newfile2");
system("cpfs $filename2 ${newfile2}") == 0
or die "cpfs failed to copy ${filename2} to ${newfile2} with exit code $?";
}
if( -e $filename3 ) {
my $newfile3 = "${tankdir}/${filename3}";
system("cpfs $filename3 $newfile3");
system("cpfs ${filename3} ${newfile3}") == 0
or die "cpfs failed to copy ${filename3} to ${newfile3} with exit code $?";
}

} # $rc still == 0 after reading gmon_cost.txt
Expand Down
12 changes: 8 additions & 4 deletions ush/minmon_xtrct_gnorms.pl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ sub updateGnormData {
print OUTFILE @filearray;
close( OUTFILE );

system("cpfs $outfile $gdfile");
system("cpfs ${outfile} ${gdfile}") == 0
or die "cpfs failed to copy ${outfile} to ${gdfile} with exit code $?";

}

Expand Down Expand Up @@ -419,17 +420,20 @@ sub updateGnormData {
}

if( -e $filename2 ) {
system("cpfs $filename2 ${tankdir}/.");
system("cpfs ${filename2} ${tankdir}/.") == 0
or die "cpfs failed to copy ${filename2} to ${tankdir} with exit code $?";
}

my $gdfile = "gnorm_data.txt";
if( -e $gdfile ) {
system("cpfs $gdfile ${tankdir}/.");
system("cpfs ${gdfile} ${tankdir}/.") == 0
or die "cpfs failed to copy ${gdfile} to ${tankdir} with exit code $?";
}

my $errmsg = "${cdate}.errmsg.txt";
if( -e $errmsg ) {
system("cpfs $errmsg ${tankdir}/.");
system("cpfs ${errmsg} ${tankdir}/.") == 0
or die "cpfs failed to copy ${errmsg} to ${tankdir} with exit code $?";
}

} # $rc still == 0 after reading gmon_gnorm.txt
Expand Down
3 changes: 2 additions & 1 deletion ush/minmon_xtrct_reduct.pl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@

if( -e $outfile ) {
my $newfile = "${tankdir}/${outfile}";
system("cpfs $outfile $newfile");
system("cpfs ${outfile} ${newfile}") == 0
or die "cpfs failed to copy ${outfile} to ${newfile} with exit code $?";
}

} else { # $infile does not exist
Expand Down