From owner-freebsd-questions@FreeBSD.ORG Mon May 26 18:57:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D871D106566C for ; Mon, 26 May 2008 18:57:54 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 896518FC0C for ; Mon, 26 May 2008 18:57:54 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 0CA4328436; Tue, 27 May 2008 06:57:53 +1200 (NZST) Date: Tue, 27 May 2008 06:57:53 +1200 From: Jonathan Chen To: Michael Lednev Message-ID: <20080526185753.GB33445@osiris.chen.org.nz> References: <483A95C7.9090805@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <483A95C7.9090805@mail.ru> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: strange ps behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2008 18:57:54 -0000 On Mon, May 26, 2008 at 02:49:43PM +0400, Michael Lednev wrote: > Hello. > > Can anyone explain such behaviour? > > # pgrep radiusd > 1105 > 33738 > # ps ax | grep radiusd > 1105 ?? Ss 2:35,76 /usr/local/sbin/radiusd > # ps 33738 > PID TT STAT TIME COMMAND > > Am I missing something? Yes. the "p" option, as in: ps p 33738 -- Jonathan Chen ---------------------------------------------------------------------- Jesus saves. Allah forgives. Cthulu thinks you'd make a nice sandwich.