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=ef6511a8cb34cbd21fc8cb1b039634cfabcafaed;hpb=93ff03424c52939cee0044b8ff2d73a5d2801987 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