Feedback and improvements

kleinempfaenger at hotmail.com kleinempfaenger at hotmail.com
Fri Jul 19 06:35:52 CEST 2013


Hi Joachim, and others
my name is Timo.

Nice program with huge potential, thanks.


First a little error warning, that I received after some days of 
recording (>700kB)

familia at familia-Satellite-L845:~$ arbtt-stats
Processing data 
[=================================>.......................]  58%
arbtt-stats: Unsupported TimeLogEntry version tag 0


arbtt-dump works, but arbtt-stats cant process the data.



The problem with the -i parameter:

familia at familia-Satellite-L845:~$ arbtt-stats -f '$sampleage <24:00'
Total time per tag
==================
___________________Tag_|___Time_|_Percentage_
Program:gnome-terminal |  3m00s |     100.00
                 active |  3m00s |     100.00


familia at familia-Satellite-L845:~$ arbtt-stats -i -f '$sampleage <24:00'
General Information
===================
                        FirstRecord | 2013-07-19 01:55:52.456123 UTC
                         LastRecord | 2013-07-19 01:57:52.531737 UTC
                  Number of records |                              3
                Total time recorded |                          3m00s
                Total time selected |                          3m00s
    Fraction of total time recorded |                           150%
    Fraction of total time selected |                           150%
Fraction of recorded time selected |                           100%

familia at familia-Satellite-L845:~$ arbtt-stats -f '$sampleage <24:00' -i
General Information
===================
                        FirstRecord | 2013-07-19 01:55:52.456123 UTC
                         LastRecord | 2013-07-19 01:58:52.597183 UTC
                  Number of records |                              4
                Total time recorded |                          4m00s
                Total time selected |                          4m00s
    Fraction of total time recorded |                           133%
    Fraction of total time selected |                           133%
Fraction of recorded time selected |                           100%

First case shows, that -f -parameter works. When -i enters (before or 
after), -f wont be processed.



Instead of graphical reports (probably intended as a step towards 
endusers?) I would propose easier-to-use filters. In conclusion I always 
come to think about a little gui with quickfilter for arbtt-stats, to 
get an overview of the recorded data. Maybe graphical reports could be 
for now made with existing statistics programs, or just 
Calc-Spreadsheets. I weren't able run the export-function (tried several 
times), maybe somebody could explain this. So everything still runs over 
the terminal, but I could experiment about it. The point is to group and 
scale the data, to generate usefull graphics for different needs.

Another improvement would be the automatic(?) separation of the 
capture.log file (Maybe this is meant by "Possibly more data sources" in 
Readme?). The program could save and reset capture.log periodically. 
This could also be done by the export-function (export capture.log every 
week, month etc.). In this case the whole record would stay intact.

Joachim, I dont know, if I subscribed correctly to the mailing list. 
Please confirm this.

Timo




More information about the arbtt mailing list