From owner-freebsd-current@FreeBSD.ORG Thu Oct 15 06:24:01 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EACA51065676 for ; Thu, 15 Oct 2009 06:24:01 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 875368FC08 for ; Thu, 15 Oct 2009 06:24:01 +0000 (UTC) Received: by ewy18 with SMTP id 18so520592ewy.43 for ; Wed, 14 Oct 2009 23:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=xh56UlSqTYAwuSCcv1rKJTf9IZrkM2Eiqf9xZaPh7vI=; b=LgbYiYmqrwHW9Y0QlOhngWlqrGnuSIL9bLj0TcHGm9B2242G42LHi4wGIySofi+O0E EsHB581yIEhd7talsxKbBJHx1PPjCYFs3P3eIkvhuHpliF12DpAwvzfDrlMJXO0KKWjC g+6hrM0Qq5HZxipcnpZ9g7eKyVoQZ/scQyn1A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QYtGIzAxWShZmC2YH1WyR46x649W/1sOz+qYl1jfgSvK/Sh0hG3UCLqtXIVPsmQ7N9 b+y5q0aGyCH+vRYfVAc41nZO8rOVfTaoH2QoQzlIfo4vubUW1+FjB+Cl1AjNcfa1+bsN P5RuTDwcmK275iVcHNXw28exLFtdsTRIAJrHs= MIME-Version: 1.0 Received: by 10.211.142.11 with SMTP id u11mr523456ebn.8.1255587840508; Wed, 14 Oct 2009 23:24:00 -0700 (PDT) Date: Thu, 15 Oct 2009 02:24:00 -0400 Message-ID: From: grarpamp To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Thu, 15 Oct 2009 11:31:24 +0000 Subject: vmstat -m/-z field parsing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 06:24:02 -0000 Some of the 'first' columns in the output contain spaces which makes it hard to parse the data out. Unless I'm missing the reason, I propose they be changed to underscores '_' as per the rest of the ouput. Thanks. The ones I see with my GENERIC kernel plus: 2 1 0xc0f77000 13c50c zfs.ko 3 2 0xc10b4000 3cec opensolaris.ko 4 1 0xc10b8000 11ea4 geom_eli.ko 5 2 0xc10ca000 25af0 crypto.ko 6 2 0xc10f0000 ac20 zlib.ko 7 1 0xc10fb000 7224 snd_ich.ko 8 2 0xc1103000 56740 sound.ko are: # vmstat -m... CAM SIM CAM XPT CAM dev queue CAM periph CAM queue NFS FHA eli data # vmstat -z 128 Bucket 16 Bucket 32 Bucket 64 Bucket DP fakepg FFS inode FFS1 dinode FFS2 dinode KMAP ENTRY L VFS Cache MAC labels MAP ENTRY S VFS Cache SG fakepg UMA Hash UMA Kegs UMA RCntSlabs UMA Slabs UMA Zones VM OBJECT umtx pi