Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 1997 14:20:00 -0700
From:      "Michael L. VanLoon -- HeadCandy.com" <michaelv@MindBender.serv.net>
To:        Chuck <crtb@daisy.crtb.org.headcandy.com>
Cc:        xiyuan qian <xiyuan@npc.haplink.co.cn>, freebsd-isp@freebsd.org
Subject:   Re: sorry to ask a freebsd-question question! 
Message-ID:  <199709172120.OAA09807@MindBender.serv.net>
In-Reply-To: Your message of Wed, 17 Sep 97 09:17:10 -0400. <Pine.FBS.3.93.1.970917091638.8661A-100000@daisy.crtb.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

You could also do this, in case you wanted to see ppp that may not be
at the end of the line:

	ps -ax | grep ppp | grep -v grep

>Easy!		ps -ax | grep 'ppp$'

>On Wed, 17 Sep 1997, xiyuan qian wrote:
>>  Hi, I know "ps -ax | grep ppp" can find the ppp running's pid, but when I do 
>>  that, it sometimes show me 
>>      616 ....  ppp
>>      716 ....  ps -ax | grep ppp
>>  or sometimes it only show me 
>>      616 ....ppp
>>  Why? How can I deny the "ps -ax | grep ppp"  showing out?

-----------------------------------------------------------------------------
  Michael L. VanLoon                           michaelv@MindBender.serv.net
      Contract software development for Windows NT, Windows 95 and Unix.
             Windows NT and Unix server development in C++ and C.

        --<  Free your mind and your machine -- NetBSD free un*x  >--
    NetBSD working ports: 386+PC, Mac 68k, Amiga, Atari 68k, HP300, Sun3,
        Sun4/4c/4m, DEC MIPS, DEC Alpha, PC532, VAX, MVME68k, arm32...
    NetBSD ports in progress: PICA, others...
-----------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709172120.OAA09807>