cvs commit: src/etc rc.subr
des at des.no
Fri Aug 18 14:14:00 UTC 2006
Yar Tikhiy <yar at FreeBSD.org> writes:
> The ps(1) command is unfriendly to scripts by default because
> it limits the width of its output to the value of $COLUMNS, or
> what TIOCGWINSZ reports, or 79 columns. We should specify -ww
> to ps(1) so that it removes the limit and prints lines in full.
> Otherwise very long command pathnames could be mishandled, e.g.,
> by _find_processes().
or perhaps _find_processes() should use pgrep(1) instead of ps(1).
Dag-Erling Smørgrav - des at des.no
More information about the cvs-all