From owner-freebsd-fs@FreeBSD.ORG Wed Feb 17 17:13:30 2010 Return-Path: Delivered-To: FreeBSD-FS@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B807D106568B for ; Wed, 17 Feb 2010 17:13:30 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5D9038FC0C for ; Wed, 17 Feb 2010 17:13:30 +0000 (UTC) Received: by vws14 with SMTP id 14so207966vws.13 for ; Wed, 17 Feb 2010 09:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=UTEDLfSiVZ0KABYlTVrDK8SBFWC3dEeHheAMGypL5RY=; b=jgS4v0srNkou6VwM/ysjOtw5arCsamVllK0tLJW0nfPZuVHtxgyoDGa4uDB7JSOt2O lW10stpNYhfXsw62XpVreDLY0N3ct/0wGNlOavmEgabKwl9GwiuQ7uwMQmKfJbgEUVvl Ku09TRErx7LeOuccZaYCPTZdnWzGB49HICums= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=jrkCwGxQWllIeuHtFCcpJlCBN5QZ7l97K02IMCO5FeNBSNFC10yKMVXLo9SlAx+8Gk C11tzomgdASbfg5gYjsAujPQpJmRqyhuTQCOfznD1SK3w81HEqlR4TtzveuFsIYtCgRL BsIHoK6i4Y/gsdVyKrR2CGGM5S5ly1f8KD/cQ= Received: by 10.220.123.92 with SMTP id o28mr2077237vcr.116.1266426809441; Wed, 17 Feb 2010 09:13:29 -0800 (PST) Received: from ppp-22.107.dialinfree.com (ppp-22.107.dialinfree.com [209.172.22.107]) by mx.google.com with ESMTPS id 25sm10735773vws.21.2010.02.17.09.13.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Feb 2010 09:13:27 -0800 (PST) Sender: "J. Hellenthal" Date: Wed, 17 Feb 2010 12:13:11 -0500 From: jhell To: Alexander Leidinger In-Reply-To: <20100217153530.10865szil9xmgfwg@webmail.leidinger.net> Message-ID: References: <20100215090756.GA54764@icarus.home.lan> <20100215105000.101326yj01j0f64g@webmail.leidinger.net> <20100215122744.GA57382@icarus.home.lan> <20100215161105.14071eiflhc9le68@webmail.leidinger.net> <4B79BA9C.3020402@quip.cz> <20100217153530.10865szil9xmgfwg@webmail.leidinger.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Filesystems Subject: [arc_summary.pl/arcstat.pl] Adjustments, PR & Requests X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 17:13:30 -0000 On Wed, 17 Feb 2010 09:35, Alexander@ wrote: > Quoting jhell (from Wed, 17 Feb 2010 06:31:24 -0500): > >> Due to the nature of this thread and its current list involvement I am >> going to be starting a new thread in freebsd-filesystems@ just for >> arc_summary.pl tomorrow night with the subject below. >> >> [arc_summary.pl] Adjustments, PR & Requests > > Good idea. > > I have not looked at the perl code, but I wonder if it would be possbile to > have one perl script which works on FreeBSD and Solaris. This way people do > not need to reinvent the wheel. > I had that on the back of my mind during a few changes to the script that are FreeBSD specific. Fortunately the actual changes made to this could be wrapped up by a minimal amount of if statements that could separate the FreeBSD side from the original Solaris output restoring common functionality to both sides. As for arcstat.pl I am not sure at this point what it would take to convert that to something that would run on both or even if the modifications to arcstat.pl that are FreeBSD specific would run on a Solaris box as-is. Ill give all this some testing over the next week and see what I come up with. If anyone wants to submit some patches to the two adjustments discussed above I would love to include them or at least build upon the ideas. > Regarding the arcstats.pl I will have a look later at adding the link to the > wiki, maybe tomorrow. I just had a dental OP 3 hours ago, so I just quickly > browse through my mails while holding a bag of ice to one side of my face... > Thanks. Hope you feel better. I hate having dental work done. Though I hadn't had much I did have 5 teeth pulled at the same time once and ouch! is about what sums it up. > Bye, > Alexander. > > Regards, -- jhell