Bug 522 - provide a recipe to graph workrave-measured activity
Status:
RESOLVED FIXED
Component:
Core :: UNIX
Version:
1.8.1
Hardware:
PC Linux
Importance:
P5 enhancement
Target Milestone:
---
Assignee:
Rob Caelers
URL:
http://www.tsaiberspace.net/projects/workrave/
Depends on:
Blocks:
Reported:
Mar 30 2006 22:22:41 UTC
by:
Robert Tsai
Modified:
Jan 25 2016 16:59:22 UTC
CC List:
Yaco
| Id | Who | When | Size | Type |
|---|---|---|---|---|
| 52 | dump workrave statistics into a normalized format | |||
| Robert Tsai | Mar 30 2006 22:24:02 UTC | 4083 | application/octet-stream | |
| 53 | reads output "workrave.out" from workrave-dump and produces a graph | |||
| Robert Tsai | Mar 30 2006 22:24:33 UTC | 375 | application/octet-stream | |
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| Robert Tsai | Mar 30 2006 22:25:04 UTC | cc | Robert Tsai | |
| url | http://www.patrika-online.com/blog/2006/03/30/workrave/ | |||
| Robert Tsai | Mar 30 2006 22:25:20 UTC | cc | Robert Tsai | |
| Robert Tsai | Apr 23 2006 08:59:04 UTC | url | http://www.patrika-online.com/blog/2006/03/30/workrave/ | http://www.patrika-online.com/projects/workrave/ |
| Robert Tsai | Apr 23 2006 23:21:03 UTC | url | http://www.patrika-online.com/projects/workrave/ | http://www.tsaiberspace.net/projects/workrave/ |
| Rob Caelers | May 12 2006 21:29:38 UTC | status | NEW | RESOLVED |
| resolution | FIXED | |||
| Yaco | Jan 25 2016 16:59:22 UTC | cc | Yaco |
Description
Robert Tsai Mar 30 2006 22:22:41 UTC
This is just for fun; I wrote a script to dump the statistics measured by workrave (keyboarding, mousing, etc.). This output is then fed to gnuplot to generate a graph of activity over time.
Comment 1
Robert Tsai Mar 30 2006 22:24:02 UTC
Created attachment 52 dump workrave statistics into a normalized format script reads workrave historystats file and outputs to stdout (intended use is to redirect to file "workrave.out".
Comment 2
Robert Tsai Mar 30 2006 22:24:33 UTC
Created attachment 53 reads output "workrave.out" from workrave-dump and produces a graph
Comment 3
Rob Caelers Apr 23 2006 00:42:28 UTC
Very cool! Perhaps we could add a link on workrave.org or add this to a contrib directory. Raymond?
Comment 4
Robert Tsai Apr 23 2006 08:59:04 UTC
I would prefer contrib. The link will not be very reliable (it is a home connection that IRL will be moving soon). If you require a contact e-mail address (I understand that perhaps you do not want to support "contrib" material), I can provide one to be included with any "contrib" notes.
Comment 5
Rob Caelers May 12 2006 21:29:38 UTC
Added contrib directory.
Comment 6
Yaco Jan 25 2016 16:59:22 UTC
The script is not working. I am using 1.10.08. This is the error: [yaco@manjaro stats]$ ./workrave-dump syntax error at ./workrave-dump line 88, near "@breaktypes qw(micro rest daily)" Global symbol "@breaktypes" requires explicit package name (did you forget to declare "my @breaktypes"?) at ./workrave-dump line 89. Execution of ./workrave-dump aborted due to compilation errors.