Hi,
   Thanks for your reply. My purpose is not only to
run uptime. I need to write a script to log into other
machines to grep the log file contents. Now, I log in
one by one and grep the log. I want to use the script
to log into all machine automatically to do this job.
Do you have any suggestion to do this?

Regards,
--- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
> Titu Kim wrote:
> > Hi,
> >    I am newbie in Perl. I would like to use a perl
> > script to ssh to multiple linux machines to
> execute
> > uptime command. THen i need to get the result of
> > 'uptime' and analyse them. How can it do this?
> > 
> 
> You may want to use a networked uptime server or the
> like instead, but 
> if you really want to home grown your own solution
> you should check out 
> the Net::SSH::Perl module. It has a number of
> dependencies but works 
> well once it is installed.
> 
>
http://search.cpan.org/author/BTROTT/Net-SSH-Perl-1.23/
> 
> http://danconia.org
> 
> 
> -- 
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to