Re: Gathering CPU info from Linux and FreeBSD and placing it into aMySQL db
| From: | Robert Cummings | Date: | Wed, 10 Aug 2005 23:16:04 +0000 |
| Subject: | Re: Gathering CPU info from Linux and FreeBSD and placing it into aMySQL db | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220388@lists.php.net to get a copy of this message | ||
On Wed, 2005-08-10 at 19:07, Patrick - Jupiter Hosting wrote:
> Hi Greg,
>
> Thanks for the link, although I don't think this is exactly what I am
> looking for. I am looking for a rather simple way to automate the ssh
> into each box and gathering of the system information, instead of
> monitoring the servers. This is going to be a one time operation, as
> once we gather all the information, regular backups will (finally) be
> made so this won't happen again in the future.
>
> With this now being my 2nd week into the job, I'm learning that the new
> people who just joined the company are replacing the rather unorganized
> people who have thrown us into this rut.
>
> Thanks again for the link (that's a rather cool piece of software!), but
> I think I'm looking for something a tad more simple. Got any more links
> to throw at me? :)
You might try an "expect" script and call it from PHP.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'