From 22e073b2465eb38a2fe6cb831237caaf94e351f1 Mon Sep 17 00:00:00 2001
From: nathan <nathan>
Date: Fri, 8 Dec 2006 23:31:55 +0000
Subject: [PATCH] align text output

---
 lustre-iokit/sgpdd-survey/plot-sgpdd.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lustre-iokit/sgpdd-survey/plot-sgpdd.pl b/lustre-iokit/sgpdd-survey/plot-sgpdd.pl
index 16cc994751..0f7ad178d0 100755
--- a/lustre-iokit/sgpdd-survey/plot-sgpdd.pl
+++ b/lustre-iokit/sgpdd-survey/plot-sgpdd.pl
@@ -48,7 +48,7 @@ LABEL: while ( <PFILE> ) {
 		$out{$line[7]}{$line[5]} = $line[9];	
 	    }
 	}
-	print "rg$line[5] th$line[7] w$line[9] r$line[$rindex]\n";
+	#print "rg$line[5] th$line[7] w$line[9] r$line[$rindex]\n";
 	if ($line[$rindex]) {
 	    if (!($line[$rindex+1] eq "failed")) {
 		if ($line[5] <= 1 ) {
@@ -76,7 +76,7 @@ for ($j = 1; $j <= $thread ; $j = $j + $j) {
 	print DATAFILE "  write$j  read$j";
 }
 for ( $i = 1; $i <= $region; $i = $i + $i ) {
-	print DATAFILE "\n$i";
+	printf DATAFILE "\n%-4s", $i;
 	for ($j = 1; $j <= $thread ; $j = $j + $j) {
 		if ( $out{$i}{$j} ) {
 			print DATAFILE "  $out{$i}{$j}";
-- 
GitLab