|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Problem to connect remote hostby perladdict (Chaplain) |
| on Apr 09, 2007 at 14:32 UTC ( #608969=perlquestion: print w/ replies, xml ) | Need Help?? |
|
perladdict has asked for the
wisdom of the Perl Monks concerning the following question:
Hi monks,
I am trying to logon to remote host by using Net::SSH,if the login succeeds means, i have to ping the ip of this machine to know the status of the server. 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
as i know we can do this by using system command and as well as Net::Telnet module. after trying the above code i am getting error as below Undefined subroutine &main::login called at ssh.txt line 6.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||