From owner-soc-status@FreeBSD.ORG Sun Jun 14 11:23:58 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 862B8106566C for ; Sun, 14 Jun 2009 11:23:58 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2578FC14 for ; Sun, 14 Jun 2009 11:23:58 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001) id F41DF39BA2; Sun, 14 Jun 2009 13:24:06 +0200 (CEST) Date: Sun, 14 Jun 2009 13:24:06 +0200 From: Edward Tomasz Napierala To: soc-status@FreeBSD.org Message-ID: <20090614112406.GA9259@pin.if.uz.zgora.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Hierarchical Resource Limits - status 2 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, 14 Jun 2009 11:23:58 -0000 During the last week, I added a few calls to hrl_alloc() and hrl_free(), and a mechanism to retrieve the accounting info. Result looks like this: [trasz@victim:~]$ hrl -p $$ Resource utilisation: cputime=0 filesize=0 datasize=159744 stacksize=0 coredumpsize=0 memoryuse=0 memorylocked=0 maxprocesses=17 openfiles=0 sbsize=0 vmemoryuse=3596288 pty=0 [trasz@victim:~]$ hrl -u `id -u` Resource utilisation: cputime=0 filesize=12144 datasize=1847296 stacksize=0 coredumpsize=0 memoryuse=0 memorylocked=0 maxprocesses=-19 openfiles=0 sbsize=0 vmemoryuse=19398656 pty=4 [trasz@victim:~]$ Next thing to do is to add more calls to accounting routines. -- If you cut off my head, what would I say? Me and my head, or me and my body?