guoyu07 / aspersa

Automatically exported from code.google.com/p/aspersa
0 stars 0 forks source link

Make iteratively-collecting tools use data-timestamp format #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
A few of the tools do something like

TS-line
data lines
TS-line
data lines
TS-line

This is causing bugs, i.e. in diskstats.  Standardize instead on the convention 
of no leading TS-line, and every data sample is followed immediately by its 
timestamp.  This way the timestamp line can be used as a marker of the end of 
the data sample.

Original issue reported on code.google.com by baron.schwartz on 19 Feb 2011 at 5:29

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r361.

Original comment by baron.schwartz on 19 Feb 2011 at 5:50

GoogleCodeExporter commented 8 years ago
This issue was updated by revision r366.

Make diskstats backwards compatible with files that have a TS on the first line

Original comment by baron.schwartz on 20 Feb 2011 at 10:19

GoogleCodeExporter commented 8 years ago
The following file will crash diskstats with divide-by-zero:

TS 1297205887.156653000
   1    0 ram0 0 0 0 0 0 0 0 0 0 0 0
TS 1297205888.161613000

Original comment by baron.schwartz on 21 Feb 2011 at 11:01

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r373.

Original comment by baron.schwartz on 22 Feb 2011 at 2:33