On Tue, Mar 19, 2002 at 05:14:15PM +0000, Niall O Broin wrote:
> On Tue, Mar 19, 2002 at 04:43:45PM +0000, kevin lyda wrote:
>> > On Tue, Mar 19, 2002 at 04:42:04PM +0000, John Tobin wrote:
> > > On Tue, Mar 19, 2002 at 03:53:47PM +0000, John P. Looney wrote:
> > > > Looks like the method I was using to detect the ssh-agent wasn't very
> > > > good. I forgot that it'll pick up grep as well as ssh-agent. Dime-bar ?
> > > ps auxwww | grep "${USER}.*[s]sh-agent"
> > > will prevent grep matching itself in the output from ps.
> >
> > so will not giving ps any w flags.
> Not it won't Kevin - we've been down that road
>>james at bilbo:~> ps -aux|grep ssh-agent
> james 6033 0.0 0.4 2024 772 ? S 15:47 0:00 ssh-agent
> james 6160 0.0 0.3 1612 588 pts/0 S 17:10 0:00 grep ssh-agent
ps aux|grep "${USER}.*ssh-agent"
and that yields what? thank you...
kevin
--
kevin at suberic.net buffy: come on, can't you put your foot down?!
fork()'ed on 37058400 giles: it *is* down.
meatspace place: orbit buffy: one of these days you're going to have to
http://suberic.net/~kevin get a grown up car. --inca mummy girl
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!