added instructions for fedora17
[psensor.git] / README
1 Psensor - Temperature Monitoring For Linux
2 ------------------------------------------
3
4 Psensor is a graphical temperature monitor for Linux.
5
6 It can monitor:
7
8  * the temperature of the motherboard and CPU sensors (using
9    lm-sensors).
10  * the temperature of the NVidia GPUs (using XNVCtrl).
11  * the temperature of the Hard Disk Drives (using hddtemp or libatasmart).
12  * the rotation speed of the fans (using lm-sensors).
13  * the temperature of a remote computer.
14  * the cpu load.
15
16 Alarms using Desktop Notification can be set to each sensor to notify
17 high temperatures.
18
19 For Ubuntu users, Psensor is providing an Application Indicator to
20 alert users when a temperature is too high.
21
22 To monitor the temperature of a remote computer:
23
24  * start psensor-server on the remote computer. The default port is
25    3131 and can be changed by using the '--port=PORT' command line
26    option.
27
28  * start psensor with the '--url' option: psensor
29   --url=http://hostname:3131
30
31 WARNING: 
32 psensor-server does not provide any way to restrict the connection to
33 the HTTP server, worst, no effort has been made against malicious HTTP
34 attacks.  You should make the psensor-server port available only to a
35 network or computer you trust by using the usual network security
36 tools of the system (for example, iptables).
37
38   
39 Installation
40 ------------
41
42 Psensor can be compiled and installed on any modern linux
43 distribution.
44
45 Debian
46 ------
47
48 For Debian, the binary and source packages are available in the wheezy
49 (testing) and sid (unstable) repositories.
50
51 Debian package information are available at:
52 http://packages.qa.debian.org/p/psensor.html
53
54 Compilation requires the following packages:
55
56 gettext libgtk-3-dev libgconf2-dev libnotify-dev libsensors4-dev
57 help2man libcurl4-openssl-dev libjson0-dev libmicrohttpd-dev
58 libgtop2-dev libatasmart-dev
59
60 Debian kfreebsd
61 ---------------
62
63 Compilation requires the following packages:
64 gcc libgtk3.0-dev libsensors4-dev libgconf2-dev help2man
65 libcurl4-openssl-dev libjson0-dev libmicrohttpd-dev libgtop2-dev
66 libatasmart-dev
67
68 Ubuntu
69 ------
70
71 Notes about installation on Ubuntu is available at:
72 http://wpitchoune.net/blog/psensor/ubuntu-integration
73
74 Since Ubuntu Oneiric (11.10), psensor is available in the universe
75 repository of Ubuntu.
76
77 For other Ubuntu releases, the easy way to install Psensor and
78 Psensor-server is to use the dedicated PPA.
79
80 For the last stable version:
81 sudo apt-get apt-add-repository ppa:/jfi/psensor
82 sudo apt-get update
83 sudo apt-get install psensor
84
85 For the last development version:
86 sudo apt-get apt-add-repository ppa:/jfi/psensor-unstable
87 sudo apt-get update
88 sudo apt-get install psensor
89 sudo apt-get install psensor-server
90
91 ATI/AMD GPU Support
92 -------------------
93
94 To compile Psensor with ATI support on Ubuntu:
95
96  * installs the usual Psensor build dependencies and fglrx ubuntu
97    package.
98
99  * downloads the ATI ADL SDK from:
100    http://developer.amd.com/sdks/ADLSDK/Pages/default.aspx and
101    extracts the files of the archive into a directory [dir].
102
103  * configure the build environment: 
104    ./configure --with-libatiadl=[dir]   
105    where [dir] must be the directory where you have extracted the ATI
106    ADL SDK.
107
108  * then follow usual GNU autotools compilation:
109    make clean all
110    make install
111
112 Installation from source archive
113 --------------------------------
114
115 Psensor compilation requires:
116
117  * make/gcc     
118  * lm-sensors
119  * library sensors4
120  * library gtk3
121  * library gconf2
122  * help2man 
123  * library libnotify (optional)
124  * library libappindicator (optional)
125  * library libXNVCtrl (optional)
126  * library json0 and curl (optional, required for remote monitoring)
127  * library unity (>=v3.4.2, optional)
128  * library gtop2 (optional, required for CPU usage)
129  * library atasmart (optional, for disk monitoring)
130
131 Psensor-server compilation requires:
132  * make/gcc     
133  * lm-sensors
134  * library sensors4
135  * help2man 
136  * library libmicrohttpd 
137  * library json0
138  * library gtop2 (optional, required for CPU usage)
139  * library atasmart (optional, for disk monitoring)
140
141 Compilation and Installation Steps
142 ----------------------------------
143
144  * Extract files from the source archive
145  * Compilation:
146    ./configure
147    make clean all
148    
149  * Installation:
150    make install
151
152  * Start the sensor detection script: 'sensors-detect' and follows the
153    instructions
154
155  * Verify the sensor detection by running: 'sensors'
156
157  * Run 'psensor'
158
159 Compilation on Fedora 17
160 ------------------------
161
162  * install mandatory packages:
163    sudo yum install gcc gtk3-devel GConf2-devel lm_sensors-devel
164
165  * install additional recommended packages:
166    sudo yum install libatasmart-devel libcurl-devel json-c-devel
167                     libmicrohttpd-devel help2man libnotify-devel
168                     libgtop2-devel
169
170  * follow instructions from 'Compilation and Installation Steps'
171
172 Contact
173 -------
174 Bugs and comments can be sent to jeanfi@gmail.com
175 Home page: http://wpitchoune.net/psensor