Difference between revisions of "PhpSysInfo"
From Amahi Wiki
Line 28: | Line 28: | ||
I changed the following lines, but of course this is optional. | I changed the following lines, but of course this is optional. | ||
− | define('sensorProgram', 'LMSensors'); | + | define('sensorProgram', 'LMSensors'); |
− | define('hideMounts', '/boot'); | + | define('hideMounts', '/boot'); |
− | define('hideFstypes', 'tmpfs'); | + | define('hideFstypes', 'tmpfs'); |
− | define('hddTemp', 'tcp'); | + | define('hddTemp', 'tcp'); |
− | define('loadBar', true); | + | define('loadBar', true); |
after saving the config.php phpsysinfo also provides voltage, fan and temperature data. | after saving the config.php phpsysinfo also provides voltage, fan and temperature data. |
Revision as of 15:46, 25 April 2010
Getting More Info
After the one click install of phpsysinfo in Amahi 5.1 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
yum install lm_sensors
sensors-detect
keep pressing enter for default answers.
cd /var/hda/web-apps/phpsysinfo/html
cp config.php config.php_bak
to make a backup of your original config file
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', 'tcp'); define('loadBar', true);
after saving the config.php phpsysinfo also provides voltage, fan and temperature data.