Date: Sun, 19 Feb 2012 18:44:55 +0000 (UTC) From: jb <jb.1234abcd@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: ps output Message-ID: <loom.20120219T194035-619@post.gmane.org> References: <loom.20120219T110939-40@post.gmane.org> <20120219124433.5a297d0f@gumby.homeunix.com> <4F411DDF.9020406@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Joshua Isom <jrisom <at> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?loom.20120219T194035-619>