[Tutor] reading output from a c executable.

bob gailer bgailer at gmail.com
Fri Dec 12 15:12:42 CET 2008


Ravi Kondamuru wrote:
> Denis, These are 32bit, 64bit counters (essentially numbers).
> Bob, There are well over 10K counters in the log file that are updated 
> every 5 secs. If a counter1's graph was requested, log will have to be 
> parsed once to get the data points. If a user asked for a counter2, 
> now it needs to be retrieved from the log file. Which essentially 
> means having to go through the logfile again. This is because i want 
> to try to avoid using a database to store values after parsing the file.

Thank you. When you said "same file" I did not realize that it meant 
"same name modified data"!

If the file is a mix of 32 and 64 bit numbers, how do you know the 
length of each counter?


-- 
Bob Gailer
Chapel Hill NC 
919-636-4239



More information about the Tutor mailing list