[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSID
On Tue, 16 Sep 1997, Moshe Maor wrote:
> On Mon, 15 Sep 1997, Yaniv Orenstein wrote:
>
> > how would it be possible to determine which ps id the next program will
> > take, for example if i'm loading pppd and i'd like to know what psid
> > will or has pppd taken?
> >
> Simply spawn a process after you start pppd, to check it up.
> You can also include this in a connection script of some kind...
> Or even use a pppd that generates a pppd.pid file (well, you have to
> alter pppd code first... no big deal...)
> And that list can realy go on and on.... ;-)
pppd already leaves a pppd.pid in /var/run .
Regards,
Nir.
--
Nir Soffer AKA ScorpioS. scorpios@cs.huji.ac.il
"Power corrupts. Absolute power is kind of neat"
-- John Lehman, Secretary of the Navy 1981-1987
- References:
- Re: PSID
- From: Moshe Maor <s2543848@techst02.technion.ac.il>