Problem with data from perfmon (windows performance logging)
Posted: Fri Sep 12, 2008 9:35 am
When perfmon cannot get a datapoint (due to limited resources), it writes the data as a quoted space like so:
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.
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.
Thanks for an excellent product at a very low price.
-Luke
Code: Select all
," ",
If I change it so that the data is empty quotes, it is handled just fine.
Code: Select all
,"",
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}"
-Luke