Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2021 01:37:18 +0100
From:      Johannes Totz <johannes@jo-t.de>
To:        freebsd-stable@freebsd.org
Subject:   rctl -u jail:0
Message-ID:  <s9ub7u$8hv$1@ciao.gmane.io>

next in thread | raw e-mail | index | archive | help
Hi there,

what does

$ rctl -u jail:0

report? Is that supposed to work? Output looks like:

cputime=10507
datasize=6946816
stacksize=520495104
coredumpsize=0
memoryuse=403210240
memorylocked=0
maxproc=87
openfiles=6992
vmemoryuse=1918025728
pseudoterminals=1
swapuse=37552128
nthr=95
msgqqueued=0
msgqsize=0
nmsgq=0
nsem=0
nsemop=0
nshm=0
shmsize=0
wallclock=443440
pcpu=0
readbps=512
writebps=0
readiops=1
writeiops=0


maxproc looks alright but the rest seems to be all over the place...
I don't have a jail called "0". For an actually existing jail the output 
looks fine.
I checked the source and looks like code that parses the jail name is 
just a string comparison, no check for jail id.

Side note: I was trying to get stats for all processes not in a jail. 
Any suggestions for that?

I'm still on 12-stable.


thanks,

Johannes




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s9ub7u$8hv$1>