From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 1 15:44:57 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 580C316A41A for ; Fri, 1 Feb 2008 15:44:57 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id D718E13C4F0 for ; Fri, 1 Feb 2008 15:44:56 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so816097mue.6 for ; Fri, 01 Feb 2008 07:44:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:from; bh=OtrpKeIH9iF8VeGKmlUQUTn+VRtA5yOURCiylY9iDlg=; b=loX22cC4/A4yjC05yQ/FHUJD26SMv2eA+pJ5XITeuBmgap90O7f8Hz32Uqe3tptLgOJY3M0B0QTv88XAm0BfO0CyQFS218IxRKWqSUQqf0QHBUzq+TtP5e4JNPJCsLfl9YaTkfgxE40RXekziUaPMiTrYx1FkDgcbJBc6k2Rktg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:from; b=q3lMsYOmqrCe/uC9BxtGdPoaXe+fjlsbXEtESHkovWX0GLSfiPJqpURm/eHSLj+VUW3I4Kb327BkFKguvwq8n2Z1GVm34yaxWbYoq3cNLSn2g+iiN+O3185CRSriNHEnFmGYaYz8fJ9Hnbk1Y/U9UeBrcnM5dID56t4hY8AMfU8= Received: by 10.78.140.17 with SMTP id n17mr6319220hud.47.1201879070308; Fri, 01 Feb 2008 07:17:50 -0800 (PST) Received: from ?192.168.1.107? ( [76.22.52.184]) by mx.google.com with ESMTPS id s37sm1836699hub.58.2008.02.01.07.17.40 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Feb 2008 07:17:41 -0800 (PST) Message-Id: To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86k5lovrwj.fsf@ds4.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 1 Feb 2008 07:18:27 -0800 References: <86k5lovrwj.fsf@ds4.des.no> X-Mailer: Apple Mail (2.915) From: Garrett Cooper X-Mailman-Approved-At: Fri, 01 Feb 2008 15:48:48 +0000 Cc: hackers@freebsd.org Subject: Re: vmstat layout X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 15:44:57 -0000 On Feb 1, 2008, at 3:26 AM, Dag-Erling Sm=F8rgrav wrote: > vmstat(1) tries very hard to fit everything in 80 columns. > > Unfortunately, it's been years since anyone had a machine where none =20= > of > the columns overflowed. [...] > Removing columns is not an acceptable solution (it would break too =20 > many > existing scripts), so I'm afraid we're going to have to make the =20 > output > wider than 80 columns, unless someone can come up with a better =20 > solution. > > DES What about multiline entries with indentation to group fields for =20 "human readable output"? For example... procs memory page =20 disks faults cpu r b w avm fre flt re pi po fr sr ad0 ad1 ad2 ad3 ad10 =20= ad12 in sy cs us sy id 2 1 0 193M 1015M 444 2 8 0 4862 0 0 0 0 0 0 =20= 0 348 1297 4704 1 7 92 ...may become something like... field_title_0 field_title_1 field_title_2 [subfields go here] [...] [...] field_title_3 [...] = field_title_n [...] [...] = [...] Does that make sense? Cheers, -Garrett=