in reply to Test for daemon
i have no unix box available, but check if inetd puts a file inside the /var/run directory named inetd.pid or so. then check if this pid still exists.
another way: try to gather some data from one of the programs which are invoked via inetd. if it is possible, inetd must be alive.