phpsysinfo and temperatures
Posted: Wed Sep 23, 2009 10:32 am
After the one click install of phpsysinfo I needed to do some modifications to get all system information displayed.
For other users, this is what I did.
first open a terminal session and login as root
from another computer
in windows with putty
or in linux: ssh root@hda
type
sensors-detect
keep pressing enter for default answers.
cd /var/hda/web-apps/phpsysinfo/html
cp config.php config.php_bak
nano config.php
I changed the following lines, but of course this is optional.
define('sensorProgram', 'lmsensors');
define('hideMounts', '/boot');
define('hideFstypes', 'tmpfs');
define('hddTemp', 'suid');
I also tried to set "define('loadBar', true);" but this did not work on my sytem.
after saving the config.php phpsysinfo also provides voltage, fan and temperature data.
Would it be possible to include above procedure in the one click install?
For other users, this is what I did.
first open a terminal session and login as root
from another computer
in windows with putty
or in linux: ssh root@hda
type
sensors-detect
keep pressing enter for default answers.
cd /var/hda/web-apps/phpsysinfo/html
cp config.php config.php_bak
nano config.php
I changed the following lines, but of course this is optional.
define('sensorProgram', 'lmsensors');
define('hideMounts', '/boot');
define('hideFstypes', 'tmpfs');
define('hddTemp', 'suid');
I also tried to set "define('loadBar', true);" but this did not work on my sytem.
after saving the config.php phpsysinfo also provides voltage, fan and temperature data.
Would it be possible to include above procedure in the one click install?