system function !
| From: | Tran Thi Ai Dung | Date: | Thu, 15 Jan 2004 02:11:24 +0000 |
| Subject: | system function ! | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-22963@lists.php.net to get a copy of this message | ||
I don't know how to execute a system command for others computer from an
another running machine ?
Example : I am being machine with IP : 203.162.80.211
And I want to know system status of IP :
203.162.80.212 and 203.162.80.213, .
That is the command that I just know status of
IP , that is in running machine:
$cmd = "ps -ef | grep LICMGR | grep -v grep | wc
-l";
$licmgr_status = system($cmd,$ret);
I am waiting for Your Help.
Thanks and cheer!
aidung_vn@yahoo.com