> But for some host ssh is not configured and we can get uptime using
> the rsh. So what i have done is i have set a alarm for
> disconnecting the hosts where ssh is not working.

Every program will return some status at the end its execution. So
you have to check the return value of the rsh program. Read more
about system() call.

Bye :)
-- 
Bharathi S

Reply via email to