From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 10:32:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70A87106566B for ; Thu, 10 Nov 2011 10:32:45 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 349D48FC14 for ; Thu, 10 Nov 2011 10:32:44 +0000 (UTC) Received: by ywt32 with SMTP id 32so3956864ywt.13 for ; Thu, 10 Nov 2011 02:32:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=138MbU0ywIhDzMroBOCz8n9eL5KpPVRnABjYYnMS8E8=; b=mXTzkomjdzMf9dIwLncTjp8ATq9unN2osIpQFnYjQKa/7c+qOoFPAL5XhI4hgHPN+/ ++mFjrLXZpp5gBzHFoV5hGTQX2uo+YdnSwjEdLM57uSg9CmJfJXDrZJFFD/hxjbvExmx s9AVClrnkQ3q3L5/qoO63CUpgzmC77JrgOQlg= MIME-Version: 1.0 Received: by 10.101.85.2 with SMTP id n2mr306981anl.95.1320921164528; Thu, 10 Nov 2011 02:32:44 -0800 (PST) Received: by 10.236.95.45 with HTTP; Thu, 10 Nov 2011 02:32:44 -0800 (PST) Date: Thu, 10 Nov 2011 10:32:44 +0000 Message-ID: From: krad To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Freebsd 6 and nfsstats counters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 10:32:45 -0000 Hi, I have a bunch of old freebsd servers I want to collect nfs stats from. The problem is a lots of the counters have wrapped around. On other Freebsd 7+ machines I take care of this be a weekly cron of "nfsstat -c -z". The z option isnt available in freebsd 6, and I cant see a direct sysctl OID i can reset. Has anyone encountered this issue in the past and found a fix. I'd rather avoid having to alter the scripts to cater for negative numbers. k