Hierarchical Resource Limits - status 2

Edward Tomasz Napierala trasz at FreeBSD.org
Sun Jun 14 11:23:58 UTC 2009


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 at 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 at 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 at 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?



More information about the soc-status mailing list