From owner-freebsd-questions@FreeBSD.ORG Sun Feb 19 16:06:08 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 2A0A01065670 for ; Sun, 19 Feb 2012 16:06:08 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id E02858FC15 for ; Sun, 19 Feb 2012 16:06:07 +0000 (UTC) Received: by iaeo4 with SMTP id o4so8635766iae.13 for ; Sun, 19 Feb 2012 08:06:07 -0800 (PST) Received-SPF: pass (google.com: domain of jrisom@gmail.com designates 10.42.144.196 as permitted sender) client-ip=10.42.144.196; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jrisom@gmail.com designates 10.42.144.196 as permitted sender) smtp.mail=jrisom@gmail.com; dkim=pass header.i=jrisom@gmail.com Received: from mr.google.com ([10.42.144.196]) by 10.42.144.196 with SMTP id c4mr17490935icv.39.1329667567377 (num_hops = 1); Sun, 19 Feb 2012 08:06:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=f4wkzKDyXFyuCSxL3pLwNkuvcBaXtzP4wSKjxXsuEpU=; b=JFI1wcq9HNw9iJoyAhe9yxMd1KRiHOa4PBOWYy8ODeNLNmpQ1hh5JCpxrLtPNc4r0y DZuHAfImZreGAeHiPyPGlD5xYzvUMN8PusoBSQ6bk89yUukjlDY+NI1ozAE3+nYnDu/N IdLDCqbaeSEnSDPGUqDsBshoh6qJlh22PUs+w= Received: by 10.42.144.196 with SMTP id c4mr13916981icv.39.1329667567334; Sun, 19 Feb 2012 08:06:07 -0800 (PST) Received: from [192.168.1.3] (c-98-212-197-29.hsd1.il.comcast.net. [98.212.197.29]) by mx.google.com with ESMTPS id k3sm4535811igq.1.2012.02.19.08.06.05 (version=SSLv3 cipher=OTHER); Sun, 19 Feb 2012 08:06:06 -0800 (PST) Message-ID: <4F411DDF.9020406@gmail.com> Date: Sun, 19 Feb 2012 10:05:51 -0600 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120219124433.5a297d0f@gumby.homeunix.com> In-Reply-To: <20120219124433.5a297d0f@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 16:06:08 -0000 On 2/19/2012 6:44 AM, RW wrote: > 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. Or you can use the -w option twice. I use it whenever piping to another process.