Thanks for the great tool! Thought I should report this since dstat has been so handy the last year or so...
I get the following error when trying to output to .csv:
[root@dar_server]# dstat -tv --output dar.out
Traceback (most recent call last):
File "/usr/bin/dstat", line 2665, in ?
main()
File "/usr/bin/dstat", line 2526, in main
scheduler.run()
File "/usr/lib/python2.4/sched.py", line 105, in run
void = action(*argument)
File "/usr/bin/dstat", line 2624, in perform
oline = oline + o.showcsv() + o.showcsvend(totlist, vislist)
File "/usr/bin/dstat", line 553, in showcsv
line = line + printcsv(self.val[name])
File "/usr/bin/dstat", line 541, in printcsv
return '%d' % round(var)
TypeError: int argument required
Outputting to console with the same args works fine. Also, an older version of dstat works OK. By older, I mean one copied from about a year ago that I had laying around.
Both scripts say the same version, but they have a different number of lines...
VERSION = '0.7.2svn'
This error ONLY occurs on one server (out of 4 running this version) when outputting to .csv and using the most recent version of the dstat script that is up on the github repository (0.7.2.svn ???) .
Thanks for the great tool! Thought I should report this since dstat has been so handy the last year or so...
I get the following error when trying to output to .csv: [root@dar_server]# dstat -tv --output dar.out Traceback (most recent call last): File "/usr/bin/dstat", line 2665, in ? main() File "/usr/bin/dstat", line 2526, in main scheduler.run() File "/usr/lib/python2.4/sched.py", line 105, in run void = action(*argument) File "/usr/bin/dstat", line 2624, in perform oline = oline + o.showcsv() + o.showcsvend(totlist, vislist) File "/usr/bin/dstat", line 553, in showcsv line = line + printcsv(self.val[name]) File "/usr/bin/dstat", line 541, in printcsv return '%d' % round(var) TypeError: int argument required
Outputting to console with the same args works fine. Also, an older version of dstat works OK. By older, I mean one copied from about a year ago that I had laying around.
Both scripts say the same version, but they have a different number of lines... VERSION = '0.7.2svn'
This error ONLY occurs on one server (out of 4 running this version) when outputting to .csv and using the most recent version of the dstat script that is up on the github repository (0.7.2.svn ???) .