From owner-freebsd-questions@FreeBSD.ORG Tue May 27 07:26:11 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 7DA771065681 for ; Tue, 27 May 2008 07:26:11 +0000 (UTC) (envelope-from michaek@mail.ru) Received: from big.innet.yaroslavl.su (big.innet.yaroslavl.su [217.15.134.73]) by mx1.freebsd.org (Postfix) with ESMTP id E2F4C8FC1C for ; Tue, 27 May 2008 07:26:10 +0000 (UTC) (envelope-from michaek@mail.ru) Received: from relay.innet.yaroslavl.su (relay.innet.yaroslavl.su [217.15.134.70]) by big.innet.yaroslavl.su (8.13.7/8.13.7) with ESMTP id m4R7PwpD041540; Tue, 27 May 2008 11:25:58 +0400 (MSD) Received: from reaper.yaroslavl.ru (reaper.yaroslavl.ru [85.113.195.205]) by relay.innet.yaroslavl.su (8.13.8/8.13.8) with ESMTP id m4R7Pvwx073257; Tue, 27 May 2008 11:25:58 +0400 (MSD) (envelope-from michaek@mail.ru) Received: from [127.0.0.1] (unknown [192.168.10.53]) by reaper.yaroslavl.ru (Postfix) with ESMTP id 22CC2228F7; Tue, 27 May 2008 11:25:57 +0400 (MSD) Message-ID: <483BB785.4070206@mail.ru> Date: Tue, 27 May 2008 11:25:57 +0400 From: Michael Lednev User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Jonathan Chen References: <483A95C7.9090805@mail.ru> <20080526185753.GB33445@osiris.chen.org.nz> In-Reply-To: <20080526185753.GB33445@osiris.chen.org.nz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: Tue, 27 May 2008 07:26:11 -0000 Jonathan Chen пишет: > 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 > > Sorry, I see no difference # ps 1621 PID TT STAT TIME COMMAND 1621 p2 Is+ 0:00,03 -tcsh (tcsh) # ps p 1621 PID TT STAT TIME COMMAND 1621 p2 Is+ 0:00,03 -tcsh (tcsh)