From: phil Date: Fri, 8 Apr 2005 04:24:51 +0000 (+0000) Subject: It is so unbelievably embarrassing when I run llobdstat during the training, X-Git-Tag: v1_8_0_110~486^7~45 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5fd42461d6179672504da2adfa40bee42fde0f2f;p=fs%2Flustre-release.git It is so unbelievably embarrassing when I run llobdstat during the training, it prints Mb/s, and everyone laughs at how CFS can't tell the difference between megabits and megabytes. --- diff --git a/lustre/utils/llobdstat.pl b/lustre/utils/llobdstat.pl index 8a8e6c1..b42c8a3 100755 --- a/lustre/utils/llobdstat.pl +++ b/lustre/utils/llobdstat.pl @@ -126,7 +126,7 @@ sub process_stats() my $wvdelta = int ($wdelta / $timespan); my $wrate = ($cur{$write_bytes} - $last{$write_bytes}) / ($timespan * ( 1 << 20 )); - printf "R %6lu (%5lu %6.2fMb)/s W %6lu (%5lu %6.2fMb)/s", + printf "R %6lu (%5lu %6.2fMB)/s W %6lu (%5lu %6.2fMB)/s", $rdelta, $rvdelta, $rrate, $wdelta, $wvdelta, $wrate;