A ferramenta arbtt ( link1 & link2 ) soa como você quer.
trecho # 1
The Automatic Rule-Based Time Tracker is a desktop daemon that runs in the background and, every minute, records what windows are open on your desktop, what their titles are, which one is active. The accompanied statistics program lets you derive information from this log file, i.e. what how much of your time have you been spending with e-Mail, or what projects are your largest time wasters. The mapping from the raw window titles to sensible „tags“ is done by a configuration file with an powerful syntax. See the documentation for more detailed information.
trecho # 2
arbtt, on the other hand, is a time tracker that gets out of the way. Its core component (arbtt-capture) silently captures data about what you are doing, completely autonomously. No interaction required, no distraction possible. This information is continuously stored in a log file. A separate tool (arbtt-stats) the allows you to investigate this data, at whatever time is convenient to you, by using simple text-based rules.
Inicialmente, é necessário configurar um arquivo de regras que arbtt-capture
, um daemon, execute, coletando as estatísticas dos vários aplicativos à medida que você os executa. Posteriormente, você poderá usar a outra ferramenta arbtt-stat
para obter um "relatório" de uso.
And here's the corresponding output of arbtt-stats -c "Program":
Statistics for category "Program"
=================================
__________________Tag_|_________Time_|_Percentage_
Program:Firefox | 8d06h20m00s | 49.01
Program:Google Chrome | 3d15h24m00s | 21.60
Program:Text editor | 1d04h04m00s | 6.94
Program:Skype | 13h55m00s | 3.44
Program:Terminal | 9h22m00s | 2.31
Program:PDF reader | 6h10m00s | 1.52
Program:Desktop | 5h13m00s | 1.29
Program:File browser | 4h11m00s | 1.03
(53 entries omitted) | 22h59m00s | 5.68