I've had this script sitting about for a while, and think it would probably be good to add it to the repo before I misplace it.
It works with our lock contention checker to graph lock contention events vs time, so that we can see where, during the run time of an application we encounter lock contention