Page 1 of 1

phpsysinfo and temperatures

Posted: Wed Sep 23, 2009 10:32 am
by wvdlee
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?

Re: phpsysinfo and temperatures

Posted: Fri Sep 25, 2009 3:14 pm
by cpg
i put it in the wiki for phpsysinfo. good stuff!

the one-click install cannot ask the user to press keys. i wonder if there is a way to "-y" the answers (like, automated) and if it works, then add it to phpsysinfo.

would you like to try to package it yourself?

send us a PM or come by the irc (note that the webchat from freenode is not working in the last couple of days), and we we make you a contributor, then you can try to package it. it's a neat app for the system oriented.

Re: phpsysinfo and temperatures

Posted: Sat Sep 26, 2009 5:17 am
by wvdlee
Hi cpg,

I am still a linux newbie and do not feel comfortable yet to package amahi apps.
I like Amahi but it still needs a lot of manual tweaking to get what you want. I think it needs to mature a bit more. I will try to contribute by posting my experiences.

Re: phpsysinfo and temperatures

Posted: Sat Sep 26, 2009 12:44 pm
by cpg
if you can do the above, you can package apps!
it's really not much more than that!