mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-26 07:57:58 +00:00
niceload: under heavy load iostat
somehow does not work.
This commit is contained in:
parent
3dc78c8715
commit
a70b9dffaf
|
@ -786,7 +786,7 @@ sub io_status_linux {
|
|||
push @iostat, (split(/\s+/,$_))[13];
|
||||
}
|
||||
my $io = ::max(@iostat);
|
||||
return $io/10;
|
||||
return ::undef_as_zero($io)/10;
|
||||
}
|
||||
|
||||
$::exitsignal = $::exitstatus = 0; # Dummy
|
||||
|
|
Loading…
Reference in a new issue