I think both MeasureIt (I’m the author) and utility-meter can do this. Have a look at those: MeasureIt and utility_meter.