[net.wanted] Detecting running processes... this one's portable

jvc@stl.UUCP (Vic Churchill) (08/08/86)

<for new readers, the story so far is about ways and means to
arrange for a process to be started AFTER a specified
process terminates.>
Nice discussion. Now try the following:
I would like a way to run a process for a specified time
duration and then "gracefully" zap it. (Basically, it's to
stop me becoming a net junkie. Limit the habit to a
half-hour at a time!) So something like "fuze foo 30"
has the effect :
       __ run foo __________________ eek!
______/                      ^      ^   ___ back to shell
      \__ sit'n'wait 29 mins | 1min |__/
			     /      /
		a gentle warning   /
			       a killer

There seems to be no way (that I can see) that the csh job
control facilities or the available process id info can allow the
'fuze' process to know the identity of its sibling. Is it
really necessary to start doing ps|fgrep's and so on? 
All suggestions welcomed. (Well, most sensible suggestions
anyway :-) ). 

  this signature not a sentence.
 Vic Churchill (jvc@stl  ...!mcvax!ukc!stl!jvc  +44-279-29531 x 2546)