Ugly Ruby crap for tracking MySQL query cache statics