From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 16 14:46:13 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1853106566B for ; Mon, 16 Mar 2009 14:46:13 +0000 (UTC) (envelope-from ciphwn@gmail.com) Received: from mail-fx0-f158.google.com (mail-fx0-f158.google.com [209.85.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 53BA08FC16 for ; Mon, 16 Mar 2009 14:46:12 +0000 (UTC) (envelope-from ciphwn@gmail.com) Received: by fxm2 with SMTP id 2so3379982fxm.43 for ; Mon, 16 Mar 2009 07:46:11 -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:content-transfer-encoding; bh=tYZInyr9UUJUu5GfzUvK1gA+3kC1wjPZEYDUxpWbGoA=; b=f+XcTb4fjiqNFQzqG7PGU33Wio+rsHs4fdghIxn6N+GrRG/hiPulrNii1+WoficP91 vvQgTCP298QOjGc3GpVefQDQ6ijLO30TffvFaxN52JQ8/JxjNpxfYR1w1pg3fqaGD8DJ sRCcARMvgoAltvWY9qB1W4OvpbmyXQPqkqFPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=qKlvP+AEQrYr9/euiYHhdNFWZxParfgPsGetiWfykA5nskMAqzxnafuT6jPMi8k/Cb mpT3yzn4ymtJRmfeQ8luOyGEcNb6BchwujSjmFvXZvcsjg1IgRH5+NRA2cSCdXD7dYdi J7IbyfsJLQ7os5dwYQgC5FuTKAgH1LueZPoDc= MIME-Version: 1.0 Received: by 10.102.234.18 with SMTP id g18mr2186291muh.102.1237212962142; Mon, 16 Mar 2009 07:16:02 -0700 (PDT) Date: Mon, 16 Mar 2009 10:16:02 -0400 Message-ID: <13b997e60903160716x21881adfma588c32551c36e6f@mail.gmail.com> From: Cipta H To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: writing libnetstat for Summer of Code 2009 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: Mon, 16 Mar 2009 14:46:14 -0000 Hello everyone, I'm a college student studying CS in Columbia University. I'm interested in doing this project for Summer of Code 2009: > Libprocstat and libnetstat > Suggested Summer of Code 2009 project idea > > Technical contact: Robert Watson > > Create, similar to libmemstat, wrapper libraries to support monitoring an= d management applications to avoid direct use of kvm. Three parts to the pr= oject: for each of the above, add kernel support to export data in a less A= BI-sensitive way using sysctl, write a library to present the information i= n an extensible way to applications, and update applications to use the lib= rary instead of reaching directly into kernel memory / consuming sysctls. T= he goal is to allow the kernel implementation to change without breaking ap= plications and requiring them to be recompiled, and to allow monitoring fun= ctions to be extended without breaking applications. This should also facil= itate writing new classes of monitoring and profiling tools. I'm going to focus mainly on netstat, however. Aside from that, I have a few questions: 1. Aside from the bug report, has there been any other discussion on this issue? I can't seem to find any in the mailing lists. 2. How much experience in C do you need to do this project? Do you need to know the FreeBSD kernel? Thanks in advance, Cipta Herwana