Package: arbtt
Version: 0.7-2
Severity: wishlist
Tags: upstream

Hi,

Arbtt log files can become relatively large, and arbtt can take some
time to parse it. I have a file containing a bit over 3 years of
samples, and it takes a while to process:

% time arbtt-stats -i --logfile capture.log.all
<snip>
arbtt-stats -i --logfile capture.log.all  20.55s user 0.06s system 100% cpu 
20.610 total


Using the right invocations of arbtt-dump, arbtt-import and grep, it is
possible to split the log into multiple files, but it is cumbersome.

I'm not sure what exactly is the best way to improve this.

The simplest solution would be to provide a rotate command that (for
example) would break the log by year and store each year in a different
file, leaving the current year as the default capture file.

A (maybe) better solution would be to convert the logfile into a logdir,
where logs are stored by year-month, and then add a flag to arbtt-stats
to specify start date, so that older logs are not parsed. This would of
course mean more work.

Saludos


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages arbtt depends on:
ii  libc6         2.19-1
ii  libffi6       3.1-2
ii  libgmp10      2:6.0.0+dfsg-4
ii  libpcre3      1:8.31-5
ii  libx11-6      2:1.6.2-2
ii  libxext6      2:1.3.2-1
ii  libxinerama1  2:1.1.3-1
ii  libxrandr2    2:1.4.2-1
ii  libxss1       1:1.2.2-1

arbtt recommends no packages.

arbtt suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to