Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Egon

Hi Egon - thanks for the Linux PHP script. Still have'nt figured out how to run it, so I've given up for now - maybe try again when I have more time.

I did find out that I have several different installs of PHP, but I don't have the libcurl installed. I posted some questions to the Mepis (my version of Linux) website & they were pretty helpful in learning more about Mepis and the packages installed. Here's a link, if you're interested:
http://www.mepis.org/node/9511

Anyway, thanks for your efforts. I like seeing how some of our other team members are doing and how many CPUs they have.

RT


35 posted on 04/04/2006 9:13:53 PM PDT by RebelTex (Help cure diseases: http://www.freerepublic.com/focus/f-news/1548372/posts)
[ Post Reply | Private Reply | To 34 | View Replies ]


To: RebelTex
Hi Egon - thanks for the Linux PHP script. Still have'nt figured out how to run it, so I've given up for now - maybe try again when I have more time.

Sorry I can't be of more help. Still a beginner at this Linux stuff. I'll be watching that thread to see what they come up with, and incorporate it into the help page wherever possible.

I know that the PHP interpreter we're using is able to be invoked just by running the script at the command line. I suspect that the magic is in the first line of the script, which tells the shell where to find the interpreter for the script.

Once you're able to successfully run the script from the command-line, that's where cron comes in. You'll basically create a crontab that will automatically kick off the script on a regular schedule. I've almost got enough information to write that section of the help file now.

As the installation of PHP seems to vary between the flavors of Linux and the installers available (sounds like you're using Synaptec, whereas I use Aptitude) and the availability of different PHP interpreters, I'm not sure I can successfully integrate that into help.

I've figured out that curl and libcurl components are the mechanisms by which the information is actually transmitted via HTTP.

Someone in that thread mentioned the option of creating a shell script to accomplish the same functionality. Not sure that would work. While a shell script could possibly grep the information out of the unitinfo.txt file, I don't think it has the sophistication to wrap the info in XML, let alone send it via HTTP.

37 posted on 04/05/2006 7:27:12 AM PDT by Egon (We are number one! All others are number two... or lower.)
[ Post Reply | Private Reply | To 35 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson