http://www.perlmonks.org?node_id=133972


in reply to using rsh command in perl

I do something like that to check the status of my servers.
@hosts = qw(hosta hostb hostc); foreach $host (@hosts) { $status{$host} = `rsh -l ems $host /path/command`; }