From owner-soc-status@FreeBSD.ORG Sun Jun 21 19:53:49 2009 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D51EE1065673; Sun, 21 Jun 2009 19:53:49 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: from mail-bw0-f215.google.com (mail-bw0-f215.google.com [209.85.218.215]) by mx1.freebsd.org (Postfix) with ESMTP id 07B958FC1C; Sun, 21 Jun 2009 19:53:48 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: by bwz11 with SMTP id 11so524807bwz.43 for ; Sun, 21 Jun 2009 12:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LjSUSQAVcgukwknyTwxyVfG8WojqhEbutYEcj9Bxzlc=; b=vFIwC19cFRQqJ28w3lE0IemML2onH31fI1X5YI+UcxjSmWl1DxIc610bTg3LlR97Xv /M5VA+72FrrTM+MRfbGWed2VaMFaeHeOHR84i0szOrt/KCMx+xrhCiR02dHmhdcJPgPm yv+517+xufC+v+fu/JDWV2YgG77NUWTXyKFBM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; b=lnneYyCr9YP6Wn63XAgebIifx2o5ium2Oasf+gQiHWq8tfKUMMi5EhVMYSORUNbTfP SYNqUKS3INmxLvqDPkM1L1BiHkPli5XvOFYpSTGyvJ3tZsVKQoT3SPbJUyTaleXmW27e 249uaI3Gj1ao03iu63MBloOgVqH9dE8cGKGB0= MIME-Version: 1.0 Sender: pali.gabor@googlemail.com Received: by 10.223.121.6 with SMTP id f6mr4997413far.77.1245614027836; Sun, 21 Jun 2009 12:53:47 -0700 (PDT) Date: Sun, 21 Jun 2009 21:53:47 +0200 X-Google-Sender-Auth: bc127e54784e51bc Message-ID: <685a6ef80906211253p104cccddy60e4fada010cb60d@mail.gmail.com> From: Gabor PALI To: soc-status@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Oleksandr Tymoshenko , Robert Watson Subject: libstat status 3 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2009 19:53:50 -0000 Hello, During this week, I have improved some of the functions in the libnetstat library, and I also experienced that the modified netstat(1) version that uses this library seems to be quicker. I created a new type for socket buffers (in connection with the previously created socket type) to make their query easier. I have also built a simple ncurses-based network monitoring application for checking active unix domain socket and inet4/6 connections in real time. At the moment, it is more like an interactive netstat(1), but it can be extended as the library develops. All code is submitted to Perforce [1] continuously. I have started to work on how to pass information from kernel to the userland in a less ABI-sensitive way, and I consulted Robert Watson regarding this. He suggested me to work out my solution after the model he used in libmemstat(3) for providing information about UMA allocations. Now, I am checking the referenced sources and working on a modification of the corresponding kernel routines, so it can be submitted to Perforce during the next week, hopefully. Cheers, :g [1] http://perforce.freebsd.org/changeList.cgi?FSPC=%2F%2Fdepot%2Fprojects%2Fsoc2009%2Fpgj_libstat%2F...&ignore=GO%21