Everyone,
Thanks for the help.
-Tuan
On Mon, 30 Nov 1998, David Schwartz wrote:
>
> Read the man page for kill. You can send the pppd's pid a null signal and
> see if it succeeds. If it succeeds, the pppd is still running.
>
> DS
>
> > On Mon, 30 Nov 1998, Tuan Hoang wrote:
> >
> > > Hi,
> > >
> > > I have an application that requires a PPP (null modem) to
> > another machine.
> > > I plan to fork a process that launches pppd with the
> > appropriate options.
> > > Aside from looping and doing a "ps", is there a way for the fork'ed
> > > process to monitor pppd and make sure that it is still running?
> >
> > Yes; if the pppd is a child of the forked process, then it simply has to
> > detect its termination and fork off another one.
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-net" in
> > the body of a message to [EMAIL PROTECTED]
> >
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]