Psensor - Temperature Monitoring For Linux
------------------------------------------

Psensor is a graphical temperature monitor for Linux.

It can monitor:

 * the temperature of the motherboard and CPU sensors (using
   lm-sensors).
 * the temperature of the NVidia GPUs (using XNVCtrl).
 * the temperature of the Hard Disk Drives (using hddtemp or libatasmart).
 * the rotation speed of the fans (using lm-sensors).
 * the temperature of a remote computer.
 * the cpu load.

Alarms using Desktop Notification can be set to each sensor to notify
high temperatures.

For Ubuntu users, Psensor is providing an Application Indicator to
alert users when a temperature is too high.

To monitor the temperature of a remote computer:

 * start psensor-server on the remote computer. The default port is
   3131 and can be changed by using the '--port=PORT' command line
   option.

 * start psensor with the '--url' option: psensor
  --url=http://hostname:3131

WARNING: 
psensor-server does not provide any way to restrict the connection to
the HTTP server, worst, no effort has been made against malicious HTTP
attacks.  You should make the psensor-server port available only to a
network or computer you trust by using the usual network security
tools of the system (for example, iptables).

  
Installation
------------

Psensor can be compiled and installed on any modern linux
distribution.

Debian
------

For Debian, the binary and source packages are available in the wheezy
(testing) and sid (unstable) repositories.

Debian package information are available at:
http://packages.qa.debian.org/p/psensor.html

Compilation requires the following packages:

gettext libgtk-3-dev libgconf2-dev libnotify-dev libsensors4-dev
help2man libcurl4-openssl-dev libjson0-dev libmicrohttpd-dev
libgtop2-dev libatasmart-dev

Debian kfreebsd
---------------

Compilation requires the following packages:
gcc libgtk3.0-dev libsensors4-dev libgconf2-dev help2man
libcurl4-openssl-dev libjson0-dev libmicrohttpd-dev libgtop2-dev
libatasmart-dev

Ubuntu
------

Notes about installation on Ubuntu is available at:
http://wpitchoune.net/blog/psensor/ubuntu-integration

Since Ubuntu Oneiric (11.10), psensor is available in the universe
repository of Ubuntu.

For other Ubuntu releases, the easy way to install Psensor and
Psensor-server is to use the dedicated PPA.

For the last stable version:
sudo apt-get apt-add-repository ppa:/jfi/psensor
sudo apt-get update
sudo apt-get install psensor

For the last development version:
sudo apt-get apt-add-repository ppa:/jfi/psensor-unstable
sudo apt-get update
sudo apt-get install psensor
sudo apt-get install psensor-server

ATI/AMD GPU Support
-------------------

To compile Psensor with ATI support on Ubuntu:

 * installs the usual Psensor build dependencies and fglrx ubuntu
   package.

 * downloads the ATI ADL SDK from:
   http://developer.amd.com/sdks/ADLSDK/Pages/default.aspx and
   extracts the files of the archive into a directory [dir].

 * configure the build environment: 
   ./configure --with-libatiadl=[dir]   
   where [dir] must be the directory where you have extracted the ATI
   ADL SDK.

 * then follow usual GNU autotools compilation:
   make clean all
   make install

Installation from source archive
--------------------------------

Psensor compilation requires:

 * make/gcc	
 * lm-sensors
 * library sensors4
 * library gtk3
 * library gconf2
 * help2man 
 * library libnotify (optional)
 * library libappindicator (optional)
 * library libXNVCtrl (optional)
 * library json0 and curl (optional, required for remote monitoring)
 * library unity (>=v3.4.2, optional)
 * library gtop2 (optional, required for CPU usage)
 * library atasmart (optional, for disk monitoring)

Psensor-server compilation requires:
 * make/gcc	
 * lm-sensors
 * library sensors4
 * help2man 
 * library libmicrohttpd 
 * library json0
 * library gtop2 (optional, required for CPU usage)
 * library atasmart (optional, for disk monitoring)

Compilation and Installation Steps
----------------------------------

 * Extract files from the source archive
 * Compilation:
   ./configure
   make clean all
   
 * Installation:
   make install

 * Start the sensor detection script: 'sensors-detect' and follows the
   instructions

 * Verify the sensor detection by running: 'sensors'

 * Run 'psensor'

Compilation on Fedora 17
------------------------

 * install mandatory packages:
   sudo yum install gcc gtk3-devel GConf2-devel lm_sensors-devel

 * install additional recommended packages:
   sudo yum install libatasmart-devel libcurl-devel json-c-devel
                    libmicrohttpd-devel help2man libnotify-devel
                    libgtop2-devel

 * follow instructions from 'Compilation and Installation Steps'

Contact
-------
Bugs and comments can be sent to jeanfi@gmail.com
Home page: http://wpitchoune.net/psensor