Date: Fri, 20 Nov 2015 11:12:42 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Oliver Pinter <oliver.pinter@hardenedbsd.org> Cc: Craig Rodrigues <rodrigc@freebsd.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r291090 - head/usr.bin/vmstat Message-ID: <20151120111242.GA47921@FreeBSD.org> In-Reply-To: <CAPQ4ffuKkhrukzmKtgD_K3-3pwxDiw-Za6iaEM3BtvydCrFQzw@mail.gmail.com> References: <201511200515.tAK5FZT8037263@repo.freebsd.org> <CAPQ4ffuKkhrukzmKtgD_K3-3pwxDiw-Za6iaEM3BtvydCrFQzw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 20, 2015 at 12:01:36PM +0100, Oliver Pinter wrote: > On 11/20/15, Craig Rodrigues <rodrigc@freebsd.org> wrote: > > New Revision: 291090 > > URL: https://svnweb.freebsd.org/changeset/base/291090 > > > > Log: > > Convert vmstat to use libxo. > > > > [...] > > @@ -774,49 +804,64 @@ dovmstat(unsigned int interval, int reps > > > > fill_vmmeter(&sum); > > fill_vmtotal(&total); > > - (void)printf("%1d %1d %1d", > > + xo_open_container("processes"); > > + xo_emit("{:runnable/%1d} {:waiting/%ld} " > > + "{:swapped-out/%ld}", > > Are these %1d -> %ld conversions here intended or a typo? Oliver, please learn how to quote email when replying properly, thank you. ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151120111242.GA47921>