From owner-soc-status@FreeBSD.ORG Wed Jun 18 16:15:52 2014 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8270FE74 for ; Wed, 18 Jun 2014 16:15:52 +0000 (UTC) Received: from mx1.mail.bg (mx1.mail.bg [IPv6:2001:67c:16b8:1::2:17]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5F524BA for ; Wed, 18 Jun 2014 16:15:52 +0000 (UTC) Received: from [10.1.1.159] (unknown [95.87.254.225]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.mail.bg (Postfix) with ESMTPSA id 0E70C60004D8 for ; Wed, 18 Jun 2014 19:15:50 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1403108150; bh=DMcXdd3CYRNyVCYjQmGBUEg727OmjDqHU9myGYkgz3U=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date: Content-Transfer-Encoding:Message-Id:References:To; b=ujKj9MKdFBnwSxWvX6im89mPorheQItkoEaW75hkXLahvJBgluGL71eONf77vyiTG 8X/1KLgYJVDiIb77RqfBU9BHYLpHyHbBySP9IOqFrDhsZq4u0BvAWvt64+5f3l0MzG iywTcnEpmG6jsq/HZCWG7vtcjw98D9p0VB/5ZZbE= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: [Machine readable output from userland utilities] report From: Zaro Korchev In-Reply-To: <2F779B73-EAC5-49B4-B3E8-7A81109EC166@mail.bg> Date: Wed, 18 Jun 2014 19:15:45 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <5AF0FF20-E41B-4D46-A427-D84D9E2CD047@mail.bg> References: <8D1B686D-1AAA-4E07-9270-E42699110561@mail.bg> <2F779B73-EAC5-49B4-B3E8-7A81109EC166@mail.bg> To: soc-status@freebsd.org X-Mailer: Apple Mail (2.1283) X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.18 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: Wed, 18 Jun 2014 16:15:52 -0000 Hi everybody This week I finished working on netstat which took a lot of time as it = supports huge amount of possible output statistics. Here is an example after formatting: { "internet": [ { "proto": "udp4 ", "recv": 0, "sent": 0, "local address": "10.0.2.15.53954 ", "foreign address": "4.2.2.2.53 " }, ], "unix": [ { "sockets": [ { "address": -8796049594976, "type": "stream", "recv": 0, "send": 0, "inode": -8796049389256, "conn": 0, "refs": 0, "nextref": 0, "path": "/var/run/casper" }, { "address": -8796049594736, "type": "stream", "recv": 0, "send": 0, "inode": 0, "conn": -8796049594496, "refs": 0, "nextref": 0 }, { "address": -8796049594496, "type": "stream", "recv": 0, "send": 0, "inode": 0, "conn": -8796049594736, "refs": 0, "nextref": 0 }, { "address": -8796049593536, "type": "stream", "recv": 0, "send": 0, "inode": -8796050837032, "conn": 0, "refs": 0, "nextref": 0, "path": "/var/run/devd.pipe" } ] }, { "sockets": [ { "address": -8796049596416, "type": "dgram", "recv": 0, "send": 0, "inode": 0, "conn": -8796049594016, "refs": 0, "nextref": -8796049596176 }, { "address": -8796049596176, "type": "dgram", "recv": 0, "send": 0, "inode": 0, "conn": -8796049594016, "refs": 0, "nextref": -8796049595936 }, { "address": -8796049595936, "type": "dgram", "recv": 0, "send": 0, "inode": 0, "conn": -8796049594016, "refs": 0, "nextref": -8796049595696 }, { "address": -8796049595696, "type": "dgram", "recv": 0, "send": 0, "inode": 0, "conn": -8796049594016, "refs": 0, "nextref": -8796049595216 }, { "address": -8796049595456, "type": "dgram", "recv": 0, "send": 0, "inode": 0, "conn": -8796049593776, "refs": 0, "nextref": 0 }, { "address": -8796049595216, "type": "dgram", "recv": 0, "send": 0, "inode": 0, "conn": -8796049594016, "refs": 0, "nextref": -8796049594256 }, { "address": -8796049594256, "type": "dgram", "recv": 0, "send": 0, "inode": 0, "conn": -8796049594016, "refs": 0, "nextref": 0 }, { "address": -8796049594016, "type": "dgram", "recv": 0, "send": 0, "inode": -8796050221216, "conn": 0, "refs": -8796049596416, "nextref": 0, "path": "/var/run/logpriv" }, { "address": -8796049593776, "type": "dgram", "recv": 0, "send": 0, "inode": -8796050220744, "conn": 0, "refs": -8796049595456, "nextref": 0, "path": "/var/run/logpriv" } ] }, { "sockets": [] } ] } There are some issues that I'm working on fixing. The most important is = how to display very big integers which at the moment is not directly = possible with yajl. In the process I did some changes to libsol (like adding boolean = support). I did some fixes on the ls project and updated it to use the newest API = of the system's libsol. I'm currently working on fixing bugs and then I'm going to add libsol = support to more tools. Zaro=