Merge pull request #158 from marklahn/master

TX and RX now shows value in K/M/G, rather than K/M/B
This commit is contained in:
Jean-Marie Renouard 2016-03-03 10:03:47 +01:00
commit d3e1f9e7fa

View file

@ -1729,9 +1729,9 @@ sub mysql_stats {
. " qps], "
. hr_num( $mystat{'Connections'} )
. " conn," . " TX: "
. hr_num( $mystat{'Bytes_sent'} )
. hr_bytes_rnd( $mystat{'Bytes_sent'} )
. ", RX: "
. hr_num( $mystat{'Bytes_received'} ) . ")";
. hr_bytes_rnd( $mystat{'Bytes_received'} ) . ")";
infoprint "Reads / Writes: "
. $mycalc{'pct_reads'} . "% / "
. $mycalc{'pct_writes'} . "%";