[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSID
Ira Abramov 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...
okay, so put a sort by date and tail the last entry before that awk.
gy
- Follow-Ups:
- Re: PSID
- From: Ira Abramov <ira@scso.com>
- Re: PSID
- From: Oron Peled <oron@actcom.co.il>
- References:
- Re: PSID
- From: Ira Abramov <ira@scso.com>