From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 4 00:01:44 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 6CCCF106566C for ; Fri, 4 Apr 2008 00:01:44 +0000 (UTC) (envelope-from elijah.buck@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id D23C28FC1F for ; Fri, 4 Apr 2008 00:01:43 +0000 (UTC) (envelope-from elijah.buck@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so903005uge.37 for ; Thu, 03 Apr 2008 17:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=eokbc5vLobwDAPqZ01dzd3Se9ieM8oNJzLWbV8FFm0I=; b=XEA4nORVxWb/gGJs4CHXBQk29SmbtHSOdmSiTKlEEIaiHBTF/sGDT7M+yY+vGdM6b0gS9Ug7Zxjp+ErlkPxB2XhX9Ehm/HI4yJ3HAoPopHfquZ9CzQQrQ1jRFdvpL75H0JrxbVepL/Ra5F99MWf6VbaXA4fyR526zACqsPlaj6w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gowABh+vTMt9FC3KqXdZUBI0otTYczMgxsYd2X+PdCRBLijA0zIgfZW+ZQVvVe5AyObKK02SJYOZ5HQ8BNybAZ2QOQefDTBhR6hk7SB0iPRypewv0pDgl2kiHvqc0GQFG5xKmZ5FktYqRtnN+CBJwTpGNqWiIziKaJDPuQ615j4= Received: by 10.66.238.16 with SMTP id l16mr249054ugh.86.1207265819663; Thu, 03 Apr 2008 16:36:59 -0700 (PDT) Received: by 10.67.86.15 with HTTP; Thu, 3 Apr 2008 16:36:59 -0700 (PDT) Message-ID: <303eddcb0804031636y5f101a0au75ce1149ec8dae77@mail.gmail.com> Date: Thu, 3 Apr 2008 18:36:59 -0500 From: "Elijah Buck" To: hackers@freebsd.org In-Reply-To: <20080403202620.GG48868@bunrab.catwhisker.org> MIME-Version: 1.0 References: <20080403202620.GG48868@bunrab.catwhisker.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Is describing sysctl variables useful? 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, 04 Apr 2008 00:01:44 -0000 The project that Niki is referring to is something I've begun working on as part of a independent project for school. Sysctl documentation strings are definitely wanted. Mat (@freeebsd) has a partially complete sysctl documentation branch in perforce (//depot/user/mat/src/sysctl_cleanup/). You might want to look there first in case the work has already been done but not integrated. Elijah On Thu, Apr 3, 2008 at 3:26 PM, David Wolfskill wrote: > At work, I'm trying to get some measurements for what is going on on > various systems, especially when developers are trying to use them. > (The goal is to improve the situation; measurement is a rather early > step in that process.) > > To that end, I've cobbled up a Perl script that acts as a "wrapper" > around time(1) and uses that command to obtain the "rusage" (ref. > getrusage(2)) information about the command in question. > > I've started to expand this to try to obtain information about the > machine as a whole, in order to allow a comparison of the results > from one run of a command to another to have some plausible meaning. > > For this, I thought that certain values reported by sysctl(8) might > be of use. > > In the process of starting to investigate this, I noted that while > some of the variables have decscriptions (ref. "sysctl -d"), others lack > them. > > Since I'm likely to be sniffing around to figure out what these things > are, would it be a useful exercise for me to submit PRs (in > appropriately-sized chunks) to provide such descriptions? > > I have no desire to submit PRs merely for the exercise; I've submitted > PRs before, so I'm unlikely to do it merely for the sake of novelty. :-} > > But if it stands a reasonable chance of being a useful thing for the > project, I'm happy to help. > > Thoughts? > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > I submit that "conspiracy" would be an appropriate collective noun for > cats. > > See http://www.catwhisker.org/~david/publickey.gpgfor my public key. >