I have To implement ping command response, with TCL on a Linux platorm. I need to get a true or false flag in TCL depending on whether server is connected or not. Based on that I need to do some manipulation.

Any one help?