diff --git a/src/niceload b/src/niceload index 064a596a..1ee67064 100755 --- a/src/niceload +++ b/src/niceload @@ -569,7 +569,7 @@ sub load_status_linux { close IN; } elsif (open(IN,"uptime|")) { my $upString = ; - if($upString =~ m/average.\s*(\d+\.\d+)/) { + if($upString =~ m/averages?.\s*(\d+\.\d+)/) { $loadavg = $1; } else { ::die_bug("uptime"); diff --git a/src/parallel b/src/parallel index 3dd74702..bcb62c8e 100755 --- a/src/parallel +++ b/src/parallel @@ -2395,7 +2395,7 @@ sub loadavg { my $uptime_out = <$uptime_fh>; close $uptime_fh; # load average: 0.76, 1.53, 1.45 - if($uptime_out =~ /load average: (\d+.\d+)/) { + if($uptime_out =~ /load averages?: (\d+.\d+)/) { $self->{'loadavg'} = $1; ::debug("New loadavg: ".$self->{'loadavg'}); } else {