From e9938434719680925e2752c3cd26c5408258d7a0 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Thu, 9 Dec 2010 04:27:34 +0000 Subject: [PATCH] fix monshow bug git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-rmc/plugin/rmcmetrix.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-rmc/plugin/rmcmetrix.pm b/xCAT-rmc/plugin/rmcmetrix.pm index 8478c4be0..5b356e597 100755 --- a/xCAT-rmc/plugin/rmcmetrix.pm +++ b/xCAT-rmc/plugin/rmcmetrix.pm @@ -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;