ó ‘˙öKc@s)ejdƒadefd„ƒYZdS(t DSTAT_MYSQLt dstat_plugincBs#eZd„Zd„Zd„ZRS(cCsd|_d|_d|_dS(Nsmysql iotrecvtsenttBytes_receivedt Bytes_sent(RR(RR(tnametnicktvars(tself((s"/usr/share/dstat/dstat_mysql_io.pyt__init__s  cCshtjdtjƒs!td‚ny&tdtƒ\|_|_|_Wnt k rctd‚nXdS(Ns/usr/bin/mysqlsNeeds MySQL binarys/usr/bin/mysql -n %ss"Cannot interface with MySQL binary( tostaccesstX_OKt Exceptiontdpopent mysql_optionststdintstdouttstderrtIOError(R ((s"/usr/share/dstat/dstat_mysql_io.pytcheck s  & cCsyă|jjdƒxlt|jƒD][}|jƒ}t|ƒdkrMq#n|d|jkr#t|dƒ|j|ds