Re: run commands on multiple machines
| From: | Pushkar Pradhan | Date: | Wed, 19 Jun 2002 05:47:54 +0000 |
| Subject: | Re: run commands on multiple machines | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102869@lists.php.net to get a copy of this message | ||
exec() is used to run unix commands and pass results back to php.
But this runs the commands on the m/c the web server is on, don't know how
you can log onto other m/cs though.
> Hi,
> I want to run some unix commands on multiple machines(in
> a network) from my web server and display results in the
> browser .
>
> eg.
> I want to run "pkginfo" or "showrev -p" kind of commands on
> multiple machines and gather the result on the web server
> and display in the browser .
>
> Can anyboby give me a clue of how should I proceed ??
>
> thanks in advance
>
> ~R
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
-Pushkar S. Pradhan