in reply to using rsh in a perl script

Hi,
how about ping? Net::Ping could be your module of choice here.
Regards,
svenXY