<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I'm not quite sure what you want to do, but each CT has it's own
virtual /proc. If you check for example the traffic of the
veth/venet interface inside a CT you'll see only the information for
the particular CT. Or you want to have a module showing information
for all CTs?<br>
<br>
На 3.8.2011 г. 18:10 ч., shule ney написа:
<blockquote
cite="mid:CAF8yJrO0F3i3HAwPt5SOLb3ahG2c9JJkr_H=2D+6n+R39P56Tg@mail.gmail.com"
type="cite"><br>
Thanks very much vagin,I have access to CT0, I want to have a
module to monitor different VM's traffic, and each VM can see its
own traffic insdie, is it possible?
<div><br>
</div>
<div><br>
</div>
<div><br>
<div class="gmail_quote">
2011/8/3 Andrew Vagin <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:avagin@gmail.com">avagin@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
On 08/03/2011 03:42 AM, shule ney wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
*Hi, all:*<br>
*I'm wondering if I can write and execute virtual file
system like /proc in OpenVz VMs. For example , write a
module to check the incoming traffic rate of this VM and
show it in this VM's /proc as a file. I know different VMs
share one kernel, is it possible??? Thanks very much
guys.*<br>
</blockquote>
Yes. It's possible. You can write file system as module,
load it from host (CT0) and mount your file system from CT.<br>
And you can't do that, if you have access to CT only.
<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
<a moz-do-not-send="true"
href="https://openvz.org/mailman/listinfo/users"
target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
</blockquote>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="mailto:Users@openvz.org"
target="_blank">Users@openvz.org</a><br>
<a moz-do-not-send="true"
href="https://openvz.org/mailman/listinfo/users"
target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://openvz.org/mailman/listinfo/users">https://openvz.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>