From owner-freebsd-questions@FreeBSD.ORG Sun Feb 19 18:45:06 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 8529F106564A for ; Sun, 19 Feb 2012 18:45:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 374318FC0A for ; Sun, 19 Feb 2012 18:45:05 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RzBku-0001qW-3v for freebsd-questions@freebsd.org; Sun, 19 Feb 2012 19:45:04 +0100 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Feb 2012 19:45:04 +0100 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Feb 2012 19:45:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Sun, 19 Feb 2012 18:44:55 +0000 (UTC) Lines: 66 Message-ID: References: <20120219124433.5a297d0f@gumby.homeunix.com> <4F411DDF.9020406@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) 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 18:45:06 -0000 Joshua Isom gmail.com> writes: > > 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. > ... Hi guys, The same entries and their outputs on randomly larger (column-wise) terminal: $ ps -ax |less PID TT STAT TIME COMMAND ... 1891 ?? Is 0:00.43 sendmail: Queue runner@00:30:00 for /var/spool/clie ntmqueue (sendmail) 1897 ?? Ss 0:03.56 /usr/sbin/cron -s ... $ ps -aux |less USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND ... smmsp 1891 0.0 0.1 11324 2404 ?? Is Thu12PM 0:00.43 sendmai l: Queue runner@00:30:00 for /var/spool/client root 1897 0.0 0.1 9644 1208 ?? Is Thu12PM 0:03.56 /usr/sb in/cron -s ... I think the current application of terminal window size is incorrect. command1 | command2 Right now it is: command1 -> fd (stdout) -> win size "filter" -> | -> display It should be: command1 -> fd (stdout) -> | -> win size "filter" -> display jb