Psensor, reordering of the sensors list

It is now possible to change the position of each sensor: open the menu ‘Sensor Preferences’ and edit the list by using drag and drop.

This feature is not released yet but you can give a try by compiling the source code from the SVN trunk.

Ubuntu users can use the Psensor daily PPA to use the last development version. The reordering feature should be in the PPA tomorrow.

Psensor v0.7.0.5

Psensor version 0.7.0.5 has been released.

This release only contains one fix about the display of the CPU load when the fahrenheit temperature is enabled

The source archive can be downloaded at: http://wpitchoune.net/psensor/files/psensor-0.7.0.5.tar.gz.

It is recommended to upgrade to this release, it is now the last stable one.

I have started working on the next major release (0.8.x). It will introduce a rewrite of the sensors table in order to be able to hide each sensor and change the order of the sensors.

 

ptask: a graphical user interface for taskwarrior

Few months ago, I have written a graphical user interface for Taskwarrior, a command line tasks manager.

It is highly inspirated by taskhelm which is a lot more mature, and have more features.The inconvient of taskhelm which drives me to write quickly another interface is the popup window for viewing or editing notes.

The source code is available at http://wpitchoune.net/svnpub/ptask/ and should compile fine on any modern Linux distribution. It requires the GTK+ and JSON-C libraries. You must also install taskwarrior.

Source tarballs are available at: http://wpitchoune.net/ptask/files.

As ptask is quite young, you should do a backup of the taskwarrior data before trying it.

For Ubuntu Quantal you can install it from a dedicated PPA:

sudo apt-add-repository ppa:jfi/ptask
sudo apt-get update
sudo apt-get install ptask



Debian mentor wanted!

Since the begining I am the (only) maintainer of the Debian packaging of Psensor and the upload to Debian repositories is handled by a friend who is a Debian Developer. Unfortunely, since few months, he is busy, cannot perform the validation and upload as frequently as I wish and he is lacking interest about Psensor.

The Debian packaging of Psensor, is quite simple and most of the time updated each 2 months. I believe that I have now a not so bad knowledge about packaging so most of the time the upload sponsoring is very straightforward.

So, if you are a Debian member interested by the mentoring of the Psensor package, please contact me (jeanfi@gmail.com).

In the mean time, the Debian packaging of the 0.7.0.3 is ready, available at: http://wpitchoune.net/tmp/nduboc/v0.7.0.3-1/. If you are interested about uploading this package release, you are very welcome to contact me before.

I hope that I am going to be lucky enough to find a mentor with this news, otherwise, I will give a try to the RFS process.

Logging of sensors

I have recently added in the development branch the logging of sensors for both psensor and psensor-server. I still think that it is better to use a simple shell script or a dedicated tool like sensord for this purpose. Anyway, I have received a high number of requests for this feature, so I have finally decided to add it.

For psensor-server the logging is enabled by the option --sensor-log-file.

For psensor the logging is enabled by the option ‘Enable log of measures’ ( Psensor menu > Preferences > Sensors tab ) and the file is $HOME/.psensor/sensors.log.

Here is an example:

I,1346757494,0.7.0.x
S,lmsensor coretemp-isa-0000 Physical id 0,101
S,lmsensor coretemp-isa-0000 Core 0,101
S,lmsensor coretemp-isa-0000 Core 1,101
S,lmsensor f71889a-isa-0290 fan1,102
S,lmsensor f71889a-isa-0290 fan3,102
S,lmsensor f71889a-isa-0290 temp1,101
S,lmsensor f71889a-isa-0290 temp2,101
S,lmsensor f71889a-isa-0290 temp3,101
S,hdd /dev/sda,4401
S,hdd /dev/sdc,4401
S,nvidia GPU0,201
S,cpu usage,800
34,40.0,39.0,39.0,761.0,519.0,40.0,46.0,38.0,33.0,40.0,53.0,29.4
44,41.0,38.0,,766.0,515.0,,,,,,,28.2
54,40.0,39.0,,758.0,519.0,39.0,,,,,,27.7
64,,,40.0,,517.0,,,,,,,27.7
74,41.0,40.0,,761.0,515.0,40.0,,,,,,28.1

The log format is described in the manpage of psensor-server.

A binary format or a even a database is better for performance and data size but it increases the difficulty to read it from a shell script so I have adopted a tradeoff with a text format using a couple of very simple optimization.

The exact format may evolve before the 0.7.0.4 version. Until this release, you can give it a try by compiling psensor directly from the SVN source repository or using the daily build PPA for Ubuntu.