phpsysinfo and temperatures

wvdlee
Posts: 61
Joined: Wed Feb 25, 2009 9:19 am

phpsysinfo and temperatures

Postby wvdlee » 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?

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: phpsysinfo and temperatures

Postby cpg » Fri Sep 25, 2009 3:14 pm

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

wvdlee
Posts: 61
Joined: Wed Feb 25, 2009 9:19 am

Re: phpsysinfo and temperatures

Postby wvdlee » Sat Sep 26, 2009 5:17 am

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: phpsysinfo and temperatures

Postby cpg » Sat Sep 26, 2009 12:44 pm

if you can do the above, you can package apps!
it's really not much more than that!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 2 guests