Record bitrate

Is there any way to record the bitrate? i want to monitor the bandwidth…