From owner-freebsd-current@FreeBSD.ORG Mon Dec 8 04:35:28 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9319AD32 for ; Mon, 8 Dec 2014 04:35:28 +0000 (UTC) Received: from mail2.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 6685010B for ; Mon, 8 Dec 2014 04:35:28 +0000 (UTC) Received: from localhost (pool-96-242-149-4.nwrknj.fios.verizon.net [96.242.149.4]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id E5741AEB9 for ; Mon, 8 Dec 2014 13:35:20 +0900 (JST) Date: Sun, 7 Dec 2014 23:34:52 -0500 From: Yoshihiro Ota To: FreeBSD CURRENT Subject: Re: sysctl -zarc for ZFS users Message-Id: <20141207233452.cc49a49e62f056255da9cbb0@j.email.ne.jp> In-Reply-To: References: <20141206053520.7d7cb92fd8987545d3dc3de8@j.email.ne.jp> X-Mailer: Sylpheed 3.3.1 (GTK+ 2.24.22; i386-portbld-freebsd8.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 08 Dec 2014 04:35:28 -0000 Thank you for your report, Maurizio. I missed 'svn add zarc.c' and resuled an incompelte patch. I uploaded a new one with a complete set to the bugzilla. Please try against clean directory, i.e. svn revert -R usr.bin/systat. Thanks, Hiro On Sat, 6 Dec 2014 15:28:05 +0100 "Ranjan1018 ." <214748mv@gmail.com> wrote: > 2014-12-06 11:35 GMT+01:00 Yoshihiro Ota : > > > Hi all. > > > > I've been watching ZFS activites on my machine and > > improved systat to monitor such. > > > > One of my first goals is to watch ZFS cache statistics. > > > > I posted my patch to the bugzilla @ > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195460 > > I've been using on 11-CURRENT and 10.1-RELEASE myself. > > > > Regards, > > Hiro > > > > % systat -zarc > > Total MFU MRU Anon Hdr L2Hdr > > Other > > ZFS ARC 206M 63M 136M 826K 1102K 0K > > 5251K > > > > rate hits misses total hits total > > misses > > arcstats : 75% 1183 388 23721 > > 4202 > > arcstats.demand_data : 0% 0 0 528 > > 0 > > arcstats.demand_metadata : 76% 1007 308 21441 > > 2757 > > arcstats.prefetch_data : 0% 0 0 0 > > 0 > > arcstats.prefetch_metadata: 68% 176 80 1752 > > 1445 > > zfetchstats : 44% 954 1204 26410 > > 25482 > > arcstats.l2 : 0% 0 0 0 > > 0 > > vdev_cache_stats : 0% 0 0 0 > > 0 > > > > Hi Hiro, > > just applied the patch, but I receive the error: > > # make > make: don't know how to make zarc.c. Stop > make: stopped in /usr/src/usr.bin/systat > > The file zarc,c is missing. Where can I find it ? > > Thanks. > Maurizio > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"