Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2006 16:13:37 +0200
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        Yar Tikhiy <yar@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc rc.subr
Message-ID:  <86ejvet9m6.fsf@xps.des.no>
In-Reply-To: <200608181210.k7ICAIme084410@repoman.freebsd.org> (Yar Tikhiy's message of "Fri, 18 Aug 2006 12:10:18 %2B0000 (UTC)")
References:  <200608181210.k7ICAIme084410@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yar Tikhiy <yar@FreeBSD.org> writes:
>   Log:
>   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).

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ejvet9m6.fsf>