Hi All, Thank you very much for the feedback. Now, suppose I want to write a daemon for Unix in C whose job is to monitor other daemons and restart dead daemons. The daemon may take the list of such daemons to monitor from a file. I want to know how can this be programmatically achieved. Thank you, Gowtham