Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0007142: dstat --mysql5-conn results in syntax error

$
0
0
Running dstat with --mysql5-conn results in an error. I have taken a look at the source code for dstat (<a href="https://github.com/dagwieers/dstat/blob/c289f748c33469ef396603c6faead51890f1e3dd/plugins/dstat_mysql5_conn.py">https://github.com/dagwieers/dstat/blob/c289f748c33469ef396603c6faead51890f1e3dd/plugins/dstat_mysql5_conn.py</a> [<a href="https://github.com/dagwieers/dstat/blob/c289f748c33469ef396603c6faead51890f1e3dd/plugins/dstat_mysql5_conn.py" target="_blank">^</a>]) and it looks like there is some kind of typo. It looks like instead of <br /> <br /> self.set2['Threads'] = float(thread[1] / float(max[1]) 1.0 * 100)<br /> <br /> it should be <br /> <br /> self.set2['Threads'] = float(thread[1]) / float(max[1]) * 100.0<br /> +

Viewing all articles
Browse latest Browse all 19115

Trending Articles