Linux输入统计神器——WhatPulse
输入 统计
![](/data/attachment/album/201410/25/211341q101qs51jxpp4881.png)


如果，你像我这样，是个对统计数据有着狂热癖好的人，那么你必须在你的计算机上安装这个小应用：[WhatPulse](http://whatpulse.org/ref/833872/)


此软件会追踪用户的击键、鼠标点击以及使用的[带宽](http://linuxaria.com/article/tool-command-line-bandwidth-linux)和系统开机时间。用户可以周期性地，或者手动上传击键的数量到服务器上，这称之为“脉动”。


用户可以看到他们在所有加入该程序的人的领先选手排行板的所处位置，并且与他们自己国家的人作比较。用户也可以加入团队，在团队中他们可以和有着相同爱好的人作对比（去吧，Linux用户们！！）。


软件分为免费的基础版和高级版，在基础版中你可以查看并检查所有的基本统计数据，而在高级版中你可以看到更多。


该软件可用于Linux，Windows和Mac。


### 在线注册


第一步，你必须在[WhatPulse网站](http://whatpulse.org/ref/833872/)注册帐号，或者也可以在你第一次启动WhatPulse客户端时出现的实用向导中创建帐号，以用于上传自己的统计数据（你也可以使用Facebook的帐号登录）。


你会被提示需要登录，登录之后，你必须找到你的计算机名，这是因为你可以通过该帐号登录到多台计算机，而它们的数据都会上传到同一统计帐号。一旦你登入后，一个小小的W将出现在你的系统托盘中，那就对了，你已搞定！


### 在Linux上安装WhatPulse


官方网站在[下载页](http://www.whatpulse.org/downloads/)提供了一个通用版本的.tar.gz归档压缩包（用于32位和64位）和一个debian包。


就我个人而言，我已经在我的Mint Qiana上安装了debian包，在我的Arch Linux[Aur包](https://aur.archlinux.org/packages/whatpulse/)一点问题都没有。


如果你想要使用通用版本安装，请记住：WhatPulse需要几个库文件。最主要的是QT，因为WhatPulse构建于QT平台。下面列出了软件安装需求：


* libQtCore
* libQtWebKit
* libqt4-sql
* libqt4-sql-sqlite
* openssl-devel (libssl-dev)
* libQtScript


#### 输入统计数据


客户端需要设置相应的权限，以读取键盘/鼠标输入。运行包含的交互脚本.sh来设置这些权限。


#### [网络](http://linuxaria.com/tag/network)统计数据


要启用网络测量，你也需要**libpcap**包来允许WhatPulse挂钩到网络通信。如果WhatPulse找不到libpcap，它会运行，但不会显示任何网络统计数据。


![](/data/attachment/album/201410/25/211346qeg10sslq4v31e9g.png)


### 使用应用程序


默认情况下，WhatPulse会在登入图形会话后自动启动。点击系统托盘上的W图标，你将进入总览标签页，这里显示你机器上收集到的所有不同信息的鸟瞰图。例如，安装在你PC上的Linux版本、处理器型号、RAM、GPU、总点击次数、击键和带宽使用。点击这些信息下面的‘Pulse’，它将会上传这些收集到的数据到主服务器上。


也可以选择自动‘Pulse’数据到服务器的时间，如每50.000点击，或者1GB下载量。


要了解深度详情，你可以切换到每个类目的附属标签。例如，Input标签展示给你的是注册后一段时间内的击键的数量和点击次数。时间周期分为每日、每周、每月、每年以及全时。‘all’设置将显示程序安装以来的数据。


在击键下面，你会找到键盘点击热图，它简单地使用冷暖色显示选定周期内各个键的使用状况，如上述截图所示。在图的下面，应用显示了选定周期内记录的点击总量。


在Network标签下，可以查看到日常互联网使用情况。应用程序可以监控所有网络设备的带宽使用量，甚至也可以给你展示按国家分布的带宽使用情况。再次提醒，你可以使用顶部右边的箭头按钮浏览可用的数据。


在网站上，你会看到与客户端上相同的所有统计数据。


免责声明：上面的WhatPulse网站链接包含了我的参考链接，注册时可以使用该链接，这会让我的帐号在某天升级到高级帐号。




---


via: <http://linuxaria.com/recensioni/check-how-much-do-you-type-with-whatpulse-on-linux>


作者：[linuxari](https://plus.google.com/100563597940685405833?rel=author) 译者：[GOLinux](https://github.com/GOLinux) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译，[Linux中国](http://linux.cn/) 荣誉推出


OK
If, like me, you are a statistics freak you must install this small application on all your computers:

[WhatPulse](http://whatpulse.org/ref/833872/)

The software tracks a user’s pressed keys, mouse clicks and used bandwidth and the uptime of the system. Periodically, or by hand, the user can upload to the server the number of keystrokes made; this is called “pulsing”.

Users can see where they are in a leaderboard of people who have joined the program and compare themselves against people from their own countries. Users can also join teams, which enables them to compare themselves against people with similar interests (Go Linux Users !!).

There is a basic, and free, version where you can easily see and check all the basic statistics and a premium account where you can see some more stats.

The software is available for Linux, Windows and Mac.




### Registration on the website

As first step you have to register your account on the [WhatPulse](http://whatpulse.org/ref/833872/) Website or as alternative when you first start the WhatPulse client there is a practical wizard through which each user has the option to create an account to upload their own statistics (you can also log in with Facebook).

You will be prompted to login, once you login, you have to search for your computers name, this is because you can login to several computers with this and they’ll all collectively go to the same statistic count. Once you’ve logged in, a small W will appear in your system tray, that’s it, your set up!

### Installation of WhatPulse on Linux

The official website offer on the [download page](http://www.whatpulse.org/downloads/) a generic version distributed via a .tar.gz archive (available for 32 and 64 bit) and a debian package.

Personally I’ve installed the debian package on my Mint Qiana and the [Aur Package](https://aur.archlinux.org/packages/whatpulse/) on My Arch Linux, no problems at all.

If you want to go with the generic installation please keep in mind that WhatPulse requires several libraries to function. Mainly Qt, because WhatPulse is built on Qt. Here’s a list of requirements:

– libQtCore

– libQtWebKit

– libqt4-sql

– libqt4-sql-sqlite

– openssl-devel (libssl-dev)

– libQtScript

**Input Statistics**

The client needs permissions to be allowed to read your keyboard/mouse input. Run the included interactive .sh script to set up these permissions.

**Network Statistics**

To enable the network measurements, you also need the package **libpcap** to allow WhatPulse to hook into the network traffic. If WhatPulse does not find libpcap, it will run but it will not display any network statistics.

### Using the Application


By default WhatPulse will start automatically at the login of your graphical session and clicking on the W on your systray you’ll go to the Overview tab that gives a birds-eye view of all the different information gathered about your machine, for instance, the Linux version installed on your PC, processor model, RAM, GPU, total click counts, keystrokes and bandwidth usage. Clicking ‘Pulse’ under these information will upload the gathered data to the main server.

It’s also possible to select when automatically ‘Pulse’ the data to the server, such as every 50.000 clicks or 1 GB downloaded.

For further details, you can switch to each category’s pertaining tab. For example, the Input tab shows you the amount of key strokes and clicks your PC has registered during a certain time period. The time period can be sorted on a daily, weekly, monthly, yearly and all-time basis. The ‘all’ setting will show stats since the program was installed.

Below the keystrokes, you’ll find the keyboard heat map, which basically uses light and warm colors to shows what keys were used more than others during the selected time period, as shown in the screenshot above. Below that, the app displays the total amount of clicks registered in the selected period.

Under the Network tab, it’s possible to view the daily Internet usage. The application can monitor bandwidth usage of all the network devices, and even shows you bandwidth usage by country. Once again, you can navigate between available data using the arrow buttons at the top-right.

On the website you’ll see the sum of all your computer statistics with the same information available on the client.

Disclaimer: The link above to the WhatPulse website contains my referral link, using it when you register will give me a premium account for some time.



### Popular Posts:

- None Found

Wow, you disclose your keystroke information with some third-party website? That’s a horrible idea. Who in the right mind would host a third-party keylogger voluntarily? And even pay for them? That’s totally insane.

I understand your point of view totally David.

To be honest I’ve made some research before installing it and I’ve found no “bad news” about this company on the net.

You can use this application also in “offline mode” if you prefer.

Anyway like anything in Linux and Open source..it’s your choice 🙂

Best Regards

> Users can see where they are in a leaderboard of people who have joined the program and compare themselves against people from their own countries. Users can also join teams, which enables them to compare themselves against people with similar interests

sigh… totally useless. i don’t see the point.

> Anyway like anything in Linux and Open source..it’s your choice

this is binary blob, not open-source.

when u use an affiliate link to promote this kinda shady third party software, it doesn’t sound as sincere as you wish.

As I wrote, I understand the point of view of people that want to use only open source software and use gNewSense.

Personally I love the open source ideals and movement, but on my home computer I use also “blob” such as games and some applications.

Regarding the referral, it’s a way for me to

1) Get some more statistics 🙂

2) Have an easy and quick feedback if this article interest or not the people.

Best regards

Also, it’s not a keylogger, it’s a keycounter.

Thanks for the info. I’ll try it.

Only totally fool optimist could use closed source application for tracing his keyboard operations. If you want to get some raw data, just use xinput.

I like the idea, but I’d never install such a tool, security-wise it’s just too scary