Date: Fri, 22 Jun 2001 09:39:52 +0930 From: Greg Lehey <grog@FreeBSD.org> To: Jens Schweikhardt <schweikh@schweikhardt.net> Cc: Jens Schweikhardt <schweikh@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/vmstat vmstat.c Message-ID: <20010622093952.Z86129@wantadilla.lemis.com> In-Reply-To: <20010620193911.B1305@schweikhardt.net>; from schweikh@schweikhardt.net on Wed, Jun 20, 2001 at 07:39:12PM %2B0200 References: <200106191759.f5JHxiF54249@freefall.freebsd.org> <20010620084727.K58585@wantadilla.lemis.com> <20010620193911.B1305@schweikhardt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 20 June 2001 at 19:39:12 +0200, Jens Schweikhardt wrote: > Greg, > > On Wed, Jun 20, 2001 at 08:47:28AM +0930, Greg Lehey wrote: >> On Tuesday, 19 June 2001 at 10:59:43 -0700, Jens Schweikhardt wrote: >>> schweikh 2001/06/19 10:59:43 PDT >>> >>> Modified files: >>> usr.bin/vmstat vmstat.c >>> Log: >>> Made all fields in default output be space separated. Run-together >>> columns confuse the heck out of other apps trying to parse vmstat output >>> (eg sscope). >> >> Excellent! >> >>> I made sure we're still <= 80 cols per line. >> >> Can you be sure of that under all circumstances? > > For the default output and all values within their range as set by > the format specifiers, yes. But see bde's comment. > >> It seems to me that the vmstat format is somewhat obsolete. Obviously >> we need to maintain compatibility for the sake of existing scripts, >> but they don't care about 80 character maxima (I hope). How about >> thinking about how to make the output more configurable? > > You mean like ps -o? That would be nice to have, indeed. My copious free > time(TM) is consumed by PR driving right now, so don't expect me to > work on it in the near future. Has a core member ever filed a > change-request PR? :-) Dunno. I wouldn't do it this time, anyway. I thought that if you had your fingers in the code right now, it might be interesting, but if it worried me enough, I'd do it myself. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010622093952.Z86129>