Re: [PHP] How to check if remote machines are running using PHP and Eclipse-Require Urgent Help

2011-04-02 Thread tedd

At 11:30 PM +0100 4/1/11, Stuart Dallas wrote:
Also, give your boss a slap. Why is he specifying what editor you 
use to write a PHP script? I really don't understand most management 
types!


-Stuart



Management rises to their level of competence++.

Cheers,

tedd

--
---
http://sperling.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to check if remote machines are running using PHP and Eclipse-Require Urgent Help

2011-04-02 Thread Bastien


On 2011-04-02, at 12:21 PM, tedd tedd.sperl...@gmail.com wrote:

 At 11:30 PM +0100 4/1/11, Stuart Dallas wrote:
 Also, give your boss a slap. Why is he specifying what editor you use to 
 write a PHP script? I really don't understand most management types!
 
 -Stuart
 
 
 Management rises to their level of competence++.
 
 Cheers,
 
 tedd
 
 -- 
 ---
 http://sperling.com/
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

Tedd,

I usually find that it's one level above their competence. 

Bastien Koert
Sent from my iPhone
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to check if remote machines are running using PHP and Eclipse-Require Urgent Help

2011-04-02 Thread tedd

At 3:10 PM -0400 4/2/11, Bastien wrote:

On 2011-04-02, at 12:21 PM, tedd tedd.sperl...@gmail.com wrote:


 At 11:30 PM +0100 4/1/11, Stuart Dallas wrote:
 Also, give your boss a slap. Why is he specifying what editor you 
use to write a PHP script? I really don't understand most 
management types!


 -Stuart



 Management rises to their level of competence++.

 Cheers,

 tedd

 --
 ---
 http://sperling.com/

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



Tedd,

I usually find that it's one level above their competence.

Bastien Koert
Sent from my iPhone


That's what the ++ meant.

Cheers,

tedd
--
---
http://sperling.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] How to check if remote machines are running using PHP and Eclipse-Require Urgent Help

2011-04-01 Thread Santosh gunat
Hi,

I am in a big problem,

My manager gave a task,
He want a PHP scrip which will check if the remote machines are Powered on
and are running.
He want this to be done using eclipse.

He also want a log in a HTML or text file that which remote machine is
running and which remote machine is down/powered off for each machine

Can you help me.

If there is another way ,to check automatically that will also be fine.But
we want a automatic script checking and saving logs for the same.

Thanks in advance ,

Santosh Gunat


Re: [PHP] How to check if remote machines are running using PHP and Eclipse-Require Urgent Help

2011-04-01 Thread Louis Huppenbauer
You could just periodically ping those remote machines with a
system()-call, and then write the result to a file.

2011/4/1 Santosh gunat santoshgu...@gmail.com:
 Hi,

 I am in a big problem,

 My manager gave a task,
 He want a PHP scrip which will check if the remote machines are Powered on
 and are running.
 He want this to be done using eclipse.

 He also want a log in a HTML or text file that which remote machine is
 running and which remote machine is down/powered off for each machine

 Can you help me.

 If there is another way ,to check automatically that will also be fine.But
 we want a automatic script checking and saving logs for the same.

 Thanks in advance ,

 Santosh Gunat


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to check if remote machines are running using PHP and Eclipse-Require Urgent Help

2011-04-01 Thread Jim Giner
your boss is asking you to write something in PHP, but it sounds to me like 
you are not very knowledgable in it, or even in creating a text file.  Why 
is he doing this? 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to check if remote machines are running using PHP and Eclipse-Require Urgent Help

2011-04-01 Thread Stuart Dallas
On Friday, 1 April 2011 at 17:07, Santosh gunat wrote:
Hi,
 
 I am in a big problem,
 
 My manager gave a task,
 He want a PHP scrip which will check if the remote machines are Powered on
 and are running.
 He want this to be done using eclipse.
 
 He also want a log in a HTML or text file that which remote machine is
 running and which remote machine is down/powered off for each machine
 
 Can you help me.
 
 If there is another way ,to check automatically that will also be fine.But
 we want a automatic script checking and saving logs for the same.

Sounds like you want a service such as http://pingdom.com/ or one of the 
hundreds of other services out there that do this. IMO writing your own script 
to do this is a waste of resources.

Also, give your boss a slap. Why is he specifying what editor you use to write 
a PHP script? I really don't understand most management types!

-Stuart

-- 
Stuart Dallas
3ft9 Ltd

http://3ft9.com/




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php