how to get info about buffer usage