From owner-soc-status@FreeBSD.ORG Mon Jul 21 09:49:29 2014 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B005D9D for ; Mon, 21 Jul 2014 09:49:29 +0000 (UTC) Received: from mx2.mail.bg (mx2.mail.bg [IPv6:2001:67c:16b8:1::2:18]) by mx1.freebsd.org (Postfix) with ESMTP id D4F792E76 for ; Mon, 21 Jul 2014 09:49:28 +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 mx2.mail.bg (Postfix) with ESMTPSA id ECB9460004E4 for ; Mon, 21 Jul 2014 12:49:23 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1405936164; bh=qhpmjB2ASmAuaqALAuT1zNxb9sdmjDLzsAr2rpRBcBY=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date: Content-Transfer-Encoding:Message-Id:References:To; b=mPFTYhSgCsZtKcMxAyt5kAh5jqitifjAniTV0ssPOD4/IXjRHqAp+EcO7nMCcCJns 33HngD4Seqo5nnXG4tRMHQPcCg8rxV0dlfaahoBnbCdcVqvVUr8lsYElwaNr91jX5i 6kZky1LrWDwT4xasdExqzD3JQSWdzTrAe1u953PQ= 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: <60B2286C-F0BA-4757-9603-BE23E365A576@mail.bg> Date: Mon, 21 Jul 2014 12:49:23 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8D1B686D-1AAA-4E07-9270-E42699110561@mail.bg> <2F779B73-EAC5-49B4-B3E8-7A81109EC166@mail.bg> <5AF0FF20-E41B-4D46-A427-D84D9E2CD047@mail.bg> <19220D3B-101C-45A4-AE41-068E033D5F92@mail.bg> <60B2286C-F0BA-4757-9603-BE23E365A576@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: Mon, 21 Jul 2014 09:49:29 -0000 Hi everybody This week I worked on the packages finger w uptime du All of them now support libsol. The packages w and uptime actually share = their source code. The package finger has a long format that prints the contents of several = files. I made the application not use libsol if this option is specified = since it is not very useful to generate json/yaml/etc. which contains = several files as string values. It would also be troublesome to = implement. Here is an example from du -h /etc/ { "/etc/pam.d": "64K", "/etc/skel": "4.0K", "/etc/defaults": "60K", "/etc/pkg": "8.0K", "/etc/mail/certs": "16K", "/etc/mail": "400K", "/etc/gss": "12K", "/etc/zfs": "4.0K", "/etc/ppp": "8.0K", "/etc/ssh": "292K", "/etc/security": "48K", "/etc/mtree": "52K", "/etc/X11": "4.0K", "/etc/casper": "24K", "/etc/dma": "8.0K", "/etc/periodic/weekly": "28K", "/etc/periodic/daily": "112K", "/etc/periodic/monthly": "16K", "/etc/periodic/security": "64K", "/etc/periodic": "224K", "/etc/devd": "128K", "/etc/ssl": "16K", "/etc/bluetooth": "16K", "/etc/gnats": "8.0K", "/etc/rc.d": "696K", "/etc/": "2.7M" } Here is an example from uptime {"time":" = 9:45AM","uptime":{"hours":2,"minutes":40},"users":3,"load":[0.27001953125,= 0.2919921875,0.2958984375]} This week I am going to concentrate on revising what I have done so far = and looking for problems. I am also going to think of ways I can improve = libsol. Zaro=