From 3c94dc6c6156054293f1e794294036940ee5d578 Mon Sep 17 00:00:00 2001 From: Emoly Liu Date: Thu, 28 Apr 2016 11:11:48 +0800 Subject: [PATCH] LU-8078 iokit: correct obdfilter-survey output data format A space is needed between min and max status numbers in the obdfilter-survey script, otherwise plot-obdfilter can't parse the summary file correctly, so that the related .dat files and graphs can't be generated correctly. Test-Parameters: trivial testlist=obdfilter-survey Signed-off-by: Emoly Liu Change-Id: I5bf4790f2db1ee11cb6a7cc95d5527cb0d68e35a Reviewed-on: http://review.whamcloud.com/19841 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Bobi Jam Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- lustre-iokit/obdfilter-survey/obdfilter-survey | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre-iokit/obdfilter-survey/obdfilter-survey b/lustre-iokit/obdfilter-survey/obdfilter-survey index 36578cc..12a8382 100755 --- a/lustre-iokit/obdfilter-survey/obdfilter-survey +++ b/lustre-iokit/obdfilter-survey/obdfilter-survey @@ -605,7 +605,7 @@ for ((rsz = $rszlo; rsz <= $rszhi; rsz*=2)); do str=$(printf "%17s " SHORT) fi else - str=$(awk "BEGIN {printf \"[%7.2f,%7.2f] \",\ + str=$(awk "BEGIN {printf \"[%7.2f, %7.2f] \",\ (${stats[1]} * $actual_rsz)/1024,\ (${stats[2]} * $actual_rsz)/1024; exit}") fi -- 1.8.3.1