From owner-freebsd-questions@FreeBSD.ORG Sun Feb 19 12:44:38 2012 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 261301065672 for ; Sun, 19 Feb 2012 12:44:38 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id A5B0C8FC08 for ; Sun, 19 Feb 2012 12:44:37 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so3792783wib.13 for ; Sun, 19 Feb 2012 04:44:36 -0800 (PST) Received-SPF: pass (google.com: domain of rwmaillists@googlemail.com designates 10.180.104.4 as permitted sender) client-ip=10.180.104.4; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rwmaillists@googlemail.com designates 10.180.104.4 as permitted sender) smtp.mail=rwmaillists@googlemail.com; dkim=pass header.i=rwmaillists@googlemail.com Received: from mr.google.com ([10.180.104.4]) by 10.180.104.4 with SMTP id ga4mr10806123wib.17.1329655476761 (num_hops = 1); Sun, 19 Feb 2012 04:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=Ind+CCSSHTelWnBBmCKTQImq4FKnO3/vaIY3/WTKo9A=; b=KFhgP+Sc7BmBhoKiRt3per/sFt5w8deeBxAmZ/ua9vqz5Qz2ERSjzUtxzjX4OJLatS fCIc0LJDT5htOYQaytXc+a21dzmq856qhlCnZGIpbfHD1NIhNyFN/5Rc/PYukRZUwF44 XvXq66HpkrNwGg+0OQTLXMK6FJDj/77sfKvUo= Received: by 10.180.104.4 with SMTP id ga4mr9140492wib.17.1329655476735; Sun, 19 Feb 2012 04:44:36 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id p10sm9442076wic.0.2012.02.19.04.44.34 (version=SSLv3 cipher=OTHER); Sun, 19 Feb 2012 04:44:35 -0800 (PST) Date: Sun, 19 Feb 2012 12:44:33 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120219124433.5a297d0f@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ps output 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: Sun, 19 Feb 2012 12:44:38 -0000 On Sun, 19 Feb 2012 10:28:29 +0000 (UTC) jb wrote: > Hi, > > It's fb9-release. > > Why the other ps entries do not display cron ? > > $ top > ... > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND 1897 root 1 20 0 9644K 1208K nanslp 0 0:03 > 0.00% cron ... > > $ ps -ax |grep cron > 1897 ?? Is 0:03.16 /usr/sbin/cron -s > 62278 1 S+ 0:00.01 grep cron > $ ps -a |grep cron > 62337 1 S+ 0:00.00 grep cron > $ ps -aux |grep cron > If you grep for cron's pid instead of "cron" you'll see that the command is truncated.