ó rä Kc@sGejdƒpejdƒaejdƒadefd„ƒYZdS(tDSTAT_MYSQL_USERtUSERtDSTAT_MYSQL_PWDt dstat_plugincBs)eZdZd„Zd„Zd„ZRS(s" Plugin for MySQL 5 Keys. cCs:d|_d|_d|_d |_d |_d|_dS(Nsmysql5 key statustusedtreadtwrittrreqtwreqtKey_blocks_usedt Key_readst Key_writestKey_read_requeststKey_write_requeststfiiè(RsreadRRR(R R R R R (tnametnicktvarsttypetwidthtscale(tself((s%/usr/share/dstat/dstat_mysql5_keys.pyt__init__s      cCsBddlaytjdtdtƒ|_Wntd‚nXdS(Niÿÿÿÿtusertpasswds"Cannot interface with MySQL server(tMySQLdbtconnectt mysql_usert mysql_pwdtdbt Exception(R((s%/usr/share/dstat/dstat_mysql5_keys.pytchecks  cCsyß|jjƒ}|jdƒ|jƒ}x[|D]S}t|dƒdkrTq2n|d|jkr2t|dƒ|j|ds