"Actualy my task is to ping the machine and find the satus and i have to find the diskspace usage as well as cpu usage"
Sounds to me like you need a Network Monitoring System. Before you go off and re-invent the wheel, you might want to check out a few off-the-shelf (and Open Source) products that do exactly what you need. A few recommended ones might be Nagios, Big Brother, and Big Sister. But there are plenty more to choose from.
Cheers,
Darren :)
In reply to Re: Problem to connect remote host
by McDarren
in thread Problem to connect remote host
by perladdict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |