I think that the system view x$bh can be used for that.