with the ATI/AMD GPU support.
** psensor: fixed compilation error on 64bits with ATI/AMD GPU support.
** psensor: added capability to use libatasmart for sata disk monitoring.
-** psensor: added option --use_libatasmart
+** psensor: added option --use-libatasmart
** changed copyright dates to 2012.
* v0.6.2.17
gettext libgtk-3-dev libgconf2-dev libnotify-dev libsensors4-dev
help2man libcurl4-openssl-dev libjson0-dev libmicrohttpd-dev
-libgtop2-dev
+libgtop2-dev libatasmart-dev
Debian kfreebsd
---------------
Compilation requires the following packages:
gcc libgtk2.0-dev libsensors4-dev libgconf2-dev help2man
libcurl4-openssl-dev libjson0-dev libmicrohttpd-dev libgtop2-dev
+libatasmart-dev
Ubuntu
------
sudo apt-get install psensor
sudo apt-get install psensor-server
-Alternatively, you can download Ubuntu binary packages from:
-http://wpitchoune.net/psensor/files/ubuntu/
-The manual installation of the psensor and psensor-server packages
-requires also the installation of psensor-common which contains
-the multiple languages support.
-
Centos 6
--------
* 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
* library libmicrohttpd
* library json0
* library gtop2 (optional, required for CPU usage)
+ * library atasmart (optional, for disk monitoring)
Compilation and Installation Steps
----------------------------------
* the temperature of the motherboard and CPU sensors (using lm\-sensors).
* the temperature of the NVidia GPUs (using XNVCtrl).
* the temperature and fan rotation speed of the ATI GPUs.
- * the temperature of the Hard Disk Drives (using hddtemp).
+ * the temperature of the Hard Disk Drives (using hddtemp or atasmart
+ library).
* the rotation speed of the fans (using lm\-sensors).
* the sensors of a remote computer (using psensor\-server).
cairo_set_line_join(cr, CAIRO_LINE_JOIN_ROUND);
cairo_set_line_width(cr, 1);
-
while (*sensor_cur) {
struct psensor *s = *sensor_cur;
puts(_(" -u, --url=URL "
"the URL of the psensor-server, example: http://hostname:3131"));
-
+ puts(_(" --use-libatasmart "
+ "use atasmart library for disk monitoring "
+ "instead of hddtemp daemon"));
puts("");
puts(_(" -d, --debug=LEVEL "
}
static struct option long_options[] = {
- {"use_libatasmart", no_argument, 0, 0},
+ {"use-libatasmart", no_argument, 0, 0},
{"version", no_argument, 0, 'v'},
{"help", no_argument, 0, 'h'},
{"url", required_argument, 0, 'u'},
&opti)) != -1) {
switch (optc) {
case 0:
- if (!strcmp(long_options[opti].name, "use_libatasmart"))
+ if (!strcmp(long_options[opti].name, "use-libatasmart"))
use_libatasmart = 1;
break;
case 'u':