Problem with data from perfmon (windows performance logging)

Found a bug? Tell us about it here

Moderator: DPlotAdmin

Post Reply
lkoops
Posts: 9
Joined: Fri Sep 12, 2008 9:28 am

Problem with data from perfmon (windows performance logging)

Post by lkoops »

When perfmon cannot get a datapoint (due to limited resources), it writes the data as a quoted space like so:

Code: Select all

," ",
Dplot will not display any more data from the file when it encounters this.

If I change it so that the data is empty quotes, it is handled just fine.

Code: Select all

,"",
I don't know if this is a big deal to fix, or if there is a reason to not fix this. I use dplot to visualize performance logs because perfmon charts are hard to read from, they don't display the time axis, and they look unprofessional.

For those who are encountering this, the following sed script/command will fix up your data (I got sed and other unix commands from http://www.cygwin.com). It is quoted to suite the windows command shell. May need modification for unix/linux shells.

Code: Select all

sed "{s/\"\ \"/\"\"/g}"
Thanks for an excellent product at a very low price.

-Luke
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Luke,
Thanks for your input.

What DPlot is doing there is interpreting " " as a text string rather than a number. Since that data type is different than the corresponding column in the previous row, it reasons that it must be past the end of the data. I'll have to think on this one a bit and make sure I don't foul up some other possibility by "fixing" it.
Visualize Your Data
support@dplot.com
Post Reply