Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2009 13:24:06 +0200
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        soc-status@FreeBSD.org
Subject:   Hierarchical Resource Limits - status 2
Message-ID:  <20090614112406.GA9259@pin.if.uz.zgora.pl>

next in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090614112406.GA9259>