fix monshow bug

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2010-12-09 04:27:34 +00:00
parent b4e976013a
commit e993843471

View File

@ -412,7 +412,7 @@ sub get_sum_metrix
}
# $summary{$a}{$n} = &share({});
foreach $line (@$result){
if($line =~ /NaNQ/){
if($line =~ /[NaNQ|nan]/){
next;
} elsif ($line =~ /^(\d+): (\S+) (\S+)/){
$timestamp = $1;