[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSID



On Mon, 15 Sep 1997, Gaal Yahas wrote:

> 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?
> 
> Just
> 	ps -aux | grep pppd | grep -v grep | awk '{ print $2 }'
> and smile ;)

you are assuming only one pppd runs on the system... how about a few
cyclades cards? one pentium 133 with enough memory can serve ppp to 128
lines...


--------------------------------------------------------------------
Ira Abramov <ira@scso.com>   (mail ira-pgp@scso.com for the PGP key)