Hierarchical Resource Limits - status 2

[ Available lists | Index of soc-status | Month of Jun 2009 | Week of 14 Jun 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Edward Tomasz Napierala <trasz@FreeBSD.org>
Date
14 Jun 2009 11:23:58
Subject
Hierarchical Resource Limits - status 2
Message-ID
20090614112406.GA9259@pin.if.uz.zgora.pl


[ Hide this part ]
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?


Elapsed time: 0.135 seconds