X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre-iokit%2Fsgpdd-survey%2Fsgpdd-survey;h=e6878af22ad6299c1170b9e0dc3d715bfd9d33f8;hp=7b416d80a3c93695477eb3b8ba3b58f00abef293;hb=4a0a4f7c0af79491aa25e29d20d675f12b984e3c;hpb=ec4b19c47597d9ffcfba83cc8ac0009531bb47df diff --git a/lustre-iokit/sgpdd-survey/sgpdd-survey b/lustre-iokit/sgpdd-survey/sgpdd-survey index 7b416d8..e6878af 100755 --- a/lustre-iokit/sgpdd-survey/sgpdd-survey +++ b/lustre-iokit/sgpdd-survey/sgpdd-survey @@ -95,14 +95,7 @@ print_summary () { echo $minusn "$*" } -time_v=`date` -hostname=`hostname` -if [ "$rawdevs" ]; then - print_summary "$time_v sgpdd-survey on $rawdevs from $hostname" -fi -if [ "$scsidevs" ]; then - print_summary "$time_v sgpdd-survey on $scsidevs from $hostname" -fi +print_summary "$(date) sgpdd-survey on $rawdevs$scsidevs from $(hostname)" for ((rsz=$rszlo;rsz<=$rszhi;rsz*=2)); do for ((crg=$crglo;crg<=$crghi;crg*=2)); do