ps output
jb
jb.1234abcd at gmail.com
Sun Feb 19 18:45:06 UTC 2012
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 at 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 at 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
More information about the freebsd-questions
mailing list