A few feature requests for arbtt-stats

Nikola M nk.ogz at outlook.com
Sat Jan 16 14:15:12 CET 2016


I'm currently using arbtt 0.8.1-1 (Debian Jessie).
I'm not sure if newer versions of arbtt-stats already have these features.

(1)
Currently the output of the command "arbtt-stats -i" is:

General Information                                                                                                                                                                           
===================
                       FirstRecord | 2015-12-31 19:24:48.432324 UTC
                        LastRecord | 2016-01-16 12:23:22.325992 UTC
...



I suggest an additional row with "LastRecord - FirstRecord".

General Information                                                                                                                                                                           
===================
                       FirstRecord | 2015-12-31 19:24:48.432324 UTC
                        LastRecord | 2016-01-16 12:23:22.325992 UTC
          LastRecord - FirstRecord |                   15d16h58m34s
...


(2a)

Currently the Tag column is right-aligned.

Statistics for category "day"
=============================
__________Tag_|______Time_|_Percentage_
day:Wednesday | 22h13m00s |      22.16
 day:Saturday | 19h10m00s |      19.12
   day:Monday | 16h02m00s |      15.99
   day:Sunday | 12h07m00s |      12.08
 day:Thursday | 11h40m00s |      11.64
  day:Tuesday | 10h28m00s |      10.44
   day:Friday |  8h36m00s |       8.58


Is it possible to add a command line switch to make the Tag column left-aligned.

Statistics for category "day"
=============================
__________Tag_|______Time_|_Percentage_
day:Wednesday | 22h13m00s |      22.16
day:Saturday  | 19h10m00s |      19.12
day:Monday    | 16h02m00s |      15.99
day:Sunday    | 12h07m00s |      12.08
day:Thursday  | 11h40m00s |      11.64
day:Tuesday   | 10h28m00s |      10.44
day:Friday    |  8h36m00s |       8.58

(2b)

If you decide to add the left-aligned option, maybe it would be useful to add dots every N lines to help reading long lists.
For example, if N=3 the output would be:

Statistics for category "day"
=============================
__________Tag_|______Time_|_Percentage_
day:Wednesday | 22h13m00s |      22.16
day:Saturday  | 19h10m00s |      19.12
day:Monday ...|.16h02m00s |......15.99
day:Sunday    | 12h07m00s |      12.08
day:Thursday  | 11h40m00s |      11.64
day:Tuesday ..|.10h28m00s |......10.44
day:Friday    |  8h36m00s |       8.58


(3)
Currently the output is sorted by Time/Percentage.
Is it possible to sort results by Tag name?

Thank you for your time.

Best regards,
Nikola 		 	   		  



More information about the arbtt mailing list