Whamcloud - gitweb
It is so unbelievably embarrassing when I run llobdstat during the training,
authorphil <phil>
Fri, 8 Apr 2005 04:24:51 +0000 (04:24 +0000)
committerphil <phil>
Fri, 8 Apr 2005 04:24:51 +0000 (04:24 +0000)
it prints Mb/s, and everyone laughs at how CFS can't tell the difference
between megabits and megabytes.

lustre/utils/llobdstat.pl

index 8a8e6c1..b42c8a3 100755 (executable)
@@ -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;